Steaphann
Steaphann

Reputation: 2777

Fetching twitter feed into IOS app

I'm trying to fetch twitter feeds of a certain user into my IOS app. First I got it working with this link.

https://twitter.com/status/user_timeline/wwwkrcgenkbe.json?count=25&from=wwwkrcgenkbe

But when I tested it I got the following error:

{

    "errors": [
        {
            "message": "Sorry, that page does not exist",
            "code": 34
        }
    ]

}

Upvotes: 0

Views: 1933

Answers (1)

Keab42
Keab42

Reputation: 688

Twitter recently switched off that API endpoint. (https://dev.twitter.com/docs/faq#11716)

You need to be using URLs with the format api.twitter.com/v1.1/.

I suggest reading the latest API documentation, this will probably be a good place to start: https://dev.twitter.com/docs/api/1.1/get/statuses/user_timeline

Upvotes: 2

Related Questions