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 ...
Shnoulle
New
Hi,
I'm not a specialist on twitter connect etc ... But actually :
- Create application on https://apps.twitter.com/app
- Set Consumer Key and Consumer Secret on ./social/Twitter
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 ?
Tagged:
0
Comments
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
To confirm, you regenerated the keys after updating permissions?
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
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
Thank you