Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change URL's to the new API 1.1 #13

Open
danielt014 opened this issue Jun 19, 2013 · 2 comments
Open

Change URL's to the new API 1.1 #13

danielt014 opened this issue Jun 19, 2013 · 2 comments

Comments

@danielt014
Copy link

Please, if is possible to change URLS to the new API 1.1:

URLS = {
search: protocol + '//search.twitter.com/search.json?q=%search%&page=%page|1%&rpp=%limit|100%&since_id=%since|remove%&result_type=recent&include_entities=true', // TODO allow user to change result_type
timeline: protocol + '//api.twitter.com/1.1/statuses/user_timeline.json?screen_name=%user%&count=%limit|200%&page=%page|1%&since_id=%since|remove%include_rts=%rts|false%&include_entities=true',
list: protocol + '//api.twitter.com/1.1/%user%/lists/%list%/statuses.json?page=%page|1%&per_page=%limit|200%&since_id=%since|remove%&include_entities=true&include_rts=%rts|false%',
favs: protocol + '//api.twitter.com/1/favorites/%user%.json?include_entities=true&skip_status=true&page=%page|1%&since_id=%since|remove%',
retweets: protocol + '//api.twitter.com/1.1/statuses/retweeted_by_user.json?screen_name=%user%&include_entities=true&count=%limit|200%&since_id=%since|remove%&page=%page|1%'
}

Kind regards,
Daniel
@Mrshcom
Copy link

Mrshcom commented Aug 12, 2013

i have same problem with this error from twitter

The Twitter REST API v1 is no longer active. Please migrate to API v1.1. https://dev.twitter.com/docs/api/1.1/overview.

@samme
Copy link

samme commented Sep 28, 2013

It's not enough to switch URL endpoints; you have to authenticate to use 1.1 (see #12). :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants