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
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | interdiff-3005302-2-3.txt | 682 bytes | mars0test |
| #3 | update-twitter-config-and-data-provider-3005302-3.patch | 22 KB | mars0test |
| #2 | update-twitter-config-and-data-provider-3005302-2.patch | 22 KB | mars0test |
Comments
Comment #2
mars0test commentedComment #3
mars0test commentedOups a problem occured...
A new patch with an interdiff to show the difference.
Sorry.
Comment #5
jorgik commentedComment #6
jorgik commented