I've configured a local MAMP environment with twitter_signin (3.x-dev) and the latest stable OAuth, and set my callback url to be http://127.0.0.1:8888/twitter/oauth. When trying to sign in, "Invalid Twitter OAuth request" is the error message I receive because it seems as if the $_SESSION variable is not defined in twitter_oauth_callback_form_validate(), and .

Is this a MAMP issue I am running into, or is there something related to PHP and localhost with the _SESSION variable that I am unaware of? Or, is it a bug in this module?

Comments

hawkeye217’s picture

Status: Active » Closed (won't fix)

Works as expected in a non-local, non-MAMP environment. It would be nice to have it work locally, though.

Does not seem to be a bug in the module itself, so I'm closing this issue.

rteijeiro’s picture

It works well in a local environment.

Tested with @Anywhere solution: https://dev.twitter.com/docs/anywhere/welcome