PPL

Comment 3 for bug 708217

Revision history for this message
Christopher Adams (christopheradams) wrote :

This error originates in the twitteroauth library, which is an extension external to the PPL code proper.

Our ppl_twitter.php checks that this session variable is set:

  isset($_REQUEST['oauth_verifier'])

If that were not set, then the code would output an error: There is no valid session for this request.

In Brad's case this variable must have been set. The ppl_twitter code then creates a new TwitterOAuth object and passes that session variable:

  $access_token = $connection->getAccessToken($_REQUEST['oauth_verifier']);

There needs to be more error checking either in the PPL code or in the TwitterOAuth code.

Brad, are you able to reliably reproduce this error? In the absence of that I can't make it a priority to dig into the TwitterOAuth code to fix this.