Display twitter feed in Android App using twitter API 1.1

前端 未结 4 1113
慢半拍i
慢半拍i 2021-01-15 02:02

Basically i want to show this feed : https://en.twitter.com/epl_live in my app. Since twitter changed its api 1.1 every call has to be authorised and all examples i\'m findi

相关标签:
4条回答
  • 2021-01-15 02:33

    This works:

    https://api.twitter.com/1/statuses/user_timeline.xml?id=epl_live&count=200&page=3, you can also ask for the JSON with:

    https://api.twitter.com/1/statuses/user_timeline.json?id=epl_live&count=200&page=3

    I hope this helps.

    Regards

    0 讨论(0)
  • 2021-01-15 02:37

    With version 1.1 of the Twitter API doing calls without the authorization of a user is not yet possible, but will be soon:

    At this time, all authentication requires user context, but in the coming weeks we'll be pushing out support for a form of authentication not requiring a user context.

    They will probably release some way to have your application authenticated directly without any user login involved.

    For the moment you have to rely on version 1.0 of the API, which is still supported:

    We will be providing a 6 month window before turning off v1.0. Starting March 5th, 2013, the 1.0 endpoints will no longer be available.

    0 讨论(0)
  • 2021-01-15 02:37

    Full source code for twitter intregartion with API 1.1, Checkout this code

    https://github.com/dwivedi/twitter_api_1.1_implementation.git

    0 讨论(0)
  • 2021-01-15 02:49

    How would you build this in an android app? My layout is to press a button and it brings up another layer of the app. On that layer, it should display the Twitter feed that I require.

    0 讨论(0)
提交回复
热议问题