Facebook and Twitter accounts.
I'm running into a problem where if a user connects Facebook first
then Twitter second the request_token I get from $tok = $this->_tw-
>getRequestToken(); doesn't match the token Twitter sends back after
the user confirms my app.
Is this a simple session mix up? Or am I doing something wrong?
For the first step should I be getting a fresh request token and
authorization URL each time is refreshed or should I store them in a
session variable to be used?
If people click the connect Twitter first instead of Facebook it works
smoothly.
I know I probably made this really confusing. Please let me know if
you need to see/know any of the coding.
P.s. I'm using PHP
--
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
No comments:
Post a Comment