Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

2.1.11 : Twitter connect error 32 / Ok for sharing post etc ...

ShnoulleShnoulle New
edited June 2015 in Vanilla 2.0 - 2.8

Hi,

I'm not a specialist on twitter connect etc ... But actually :

The Share button work, but if i try to use the "Connect with twitter" : a window open with /entry/twauthorize?Target=%23&display=popup and show only :

{"errors":[{"code":32,"message":"Could not authenticate you."}]}

I already apply the patch of "OAuthException" : https://github.com/vanilla/vanilla/pull/2185/files

Any idea of something i made wrong ?

Comments

  • AdrianAdrian Wandering Spirit Montreal MVP
    edited June 2015

    Please see: http://blog.vanillaforums.com/help/how-to-enable-automatic-twitter-social-share-in-vanilla/

    TL;DR: To enable automatic Social Share, you need to enable “Read & Write” permissions and regenerate your keys :)

  • Yes,

    Already done, and done it again ....

    And more : http://blog.vanillaforums.com/news/how-to-integrate-twitter-and-facebook/#twitter set to " Read, write, and direct messages"
    And "Allow this application to be used to Sign in with Twitter' is checked for http://forum.example.com/entry/twauthorize

    Any other idea ? https/http ?
    Some way to trace error ?

    Thanks

  • AdrianAdrian Wandering Spirit Montreal MVP

    To confirm, you regenerated the keys after updating permissions?

  • AdrianAdrian Wandering Spirit Montreal MVP
    edited June 2015

    You can use the debug in Twitter, but I know it works as I just tested it yesterday :) That's why i ask to make sure you regenerated the keys...Also make sure you don't have any whitespaces, if you copied and pasted. This happens sometimes :D

  • With Debug activated the url shown only the error (maybe some die())

    But looking at conf/config.php : see the whitespace before Key ....

    Great thanks, and : better to look at a text file than the GUI to find error ;)

  • @Shnoulle said:
    With Debug activated the url shown only the error (maybe some die())

    But looking at conf/config.php : see the whitespace before Key ....

    Great thanks, and : better to look at a text file than the GUI to find error ;)

    :+1: Thank you:awesome:

Sign In or Register to comment.