Project

General

Profile

Actions

Bug #3922

closed

Redo twitter integration as API has been discontinued

Added by krileon over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Immediate
Assignee:
Target version:
Start date:
07 March 2013
Due date:
% Done:

100%

Estimated time:

Description

"@Anywhere has been retired, and support discontinued."

Twitter has discontinued the API being used. Review completely redoing the implementation with currently available API.

Actions #1

Updated by krileon over 11 years ago

See below for current usage.

https://dev.twitter.com/docs/auth/implementing-sign-twitter

Appears to be old oAuth1 requiring redirects. Means pop-up usage is gone? Review further to confirm.

Actions #2

Updated by krileon over 11 years ago

  • Priority changed from Normal to Immediate

Review jQuery based popup to Twitter login page. This same usage should be reviewed for Google as well in hopes it won't be blocked by pop up blockers anymore. Examples as follows.

http://www.jquery4u.com/social-networking/oauth-popup-window/
http://clarkdave.net/2012/10/twitter-oauth-authorisation-in-a-popup/

Actions #3

Updated by krileon over 11 years ago

  • Target version set to 4.0.0
Actions #4

Updated by krileon over 11 years ago

  • % Done changed from 0 to 80

Requesting profile data fails due to an issue on Twitters end it would seam. Authentication is completely working, but is non-usable as not possible to grab profile data needed for registration.

Actions #5

Updated by krileon over 11 years ago

  • % Done changed from 80 to 90

Profile data retrieval worked with the below.

https://api.twitter.com/1/users/show.json?user_id=USER_ID

However, this is version 1.0 usage which is scheduled to be retired. Version 1.1 refuses to authenticate even though is signed properly.

Actions #6

Updated by krileon over 11 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 90 to 100

The request was being forced as POST due to populating CURLOPT_POSTFIELDS. Parameters are now appended after base encoding and authentication established to the URL directly. Request is now guaranteed GET. Is now working and returning data.

Actions #7

Updated by krileon over 11 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF