PPL

Twitter sync weirdness

Bug #708217 reported by Brad Phillips
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PPL
Incomplete
High
Christopher Adams

Bug Description

During sync of my contacts, Gmail went through fine. The Twitter sync, reported a ton of errors on aiki php files (though it said the import was successful). After a few page refreshes, I did eventually see the updated contacts list, but there may be an issue in some of the twitter php code that's causing some hiccup.

A screenshot of the errors is provided below.

Revision history for this message
Brad Phillips (brad-bradphillips) wrote :
Revision history for this message
rejon (rejon) wrote : Re: [Bug 708217] [NEW] Twitter sync weirdness

do you have listing of those errors and/or can you reset with chris'
kill switch and take a screenshot and attach please...thx

On Wed, Jan 26, 2011 at 7:44 PM, Brad Phillips
<email address hidden> wrote:
> Public bug reported:
>
> During sync of my contacts, Gmail went through fine.  The Twitter sync,
> reported a ton of errors on aiki php files (though it said the import
> was successful).  After a few page refreshes, I did eventually see the
> updated contacts list, but there may be an issue in some of the twitter
> php code that's causing some hiccup.
>
> A screenshot of the errors is provided below.
>
> ** Affects: ppl
>     Importance: Undecided
>         Status: New
>
> --
> You received this bug notification because you are a member of PPL
> Developers, which is subscribed to PPL.
> https://bugs.launchpad.net/bugs/708217
>
> Title:
>  Twitter sync weirdness
>

--
Jon Phillips
http://rejon.org/
http://fabricatorz.com/
chat/skype: kidproto | irc: rejon
+1.415.830.3884 (sf/global)
+4915155318427 (berlin)
+86.187.1003.9974 (china)
+852.9647,9389 (hongkong)
+65.8330.5807 (singapore)

rejon (rejon)
Changed in ppl:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Brad Phillips (brad-bradphillips)
milestone: none → 0.2
rejon (rejon)
Changed in ppl:
assignee: Brad Phillips (brad-bradphillips) → Christopher Adams (christopheradams)
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.

Changed in ppl:
status: Confirmed → Incomplete
Changed in ppl:
milestone: 0.2 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.