Problem/Motivation

I get a problem when I whant to use the twitter config to import my post from twitter.
The field set in form to configure the twitter information force to pass by a oauth protocole.
but the twitter api allow user to set instead of "tw_access_token" and "tw_access_token_secret" only a "tw_access_token_secret" consider by the API as a bearer token.

In the mean time it appears th module force to get post from one route but the twitter API documentation allow consummers to get post from 3 route :

statuses/home_timeline
statuses/mentions_timeline
statuses/user_timeline

For the first two routes, the elements needed are some but for the last one you need to specify the user name.
so a field additional to set a name was need.

Proposed resolution

For the first two routes, the elements needed are some but for the last one you need to specify the user name.
so a field additional to set a name was need.

Remaining tasks

User interface changes

A new radios type field appears to select the route to consumming.
A new textfield field is adding to set name form route user timeline.
The field "tw_access_token" is no longer required. To allow user to set a bearer token in "tw_access_token_secret" field.

API changes

Data model changes

Comments

Mars0atack created an issue. See original summary.

mars0test’s picture

mars0test’s picture

Oups a problem occured...
A new patch with an interdiff to show the difference.
Sorry.

  • jorgik committed 0f9be6f on 8.x-1.x authored by Mars0atack
    Issue #3005302 by Mars0atack: Update twitter config and data provider
    
jorgik’s picture

Status: Needs review » Reviewed & tested by the community
jorgik’s picture

Assigned: mars0test » Unassigned
Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.