Closed tajinder0071 closed 7 years ago
Is this absolutely all of the code and there's nothing else in your file being executed??
@J7mbo My fault
I was also hitting a POST api
https://api.twitter.com/1.1/blocks/create.json
This one was throwing the user not found issue. I needed to get the tweets from a timeline, now I am able to do this with GET request:
https://api.twitter.com/1.1/statuses/user_timeline.json
My apologies regarding this. Thank you so much for this very easy to use twitter library.
I used your code to get the data from twitter, just changed the values in settings array by getting from my developer account. No I am making the GET request same as your example, but getting following response:
{"errors":[{"code":50,"message":"User not found."}]}{"ids":[ Some comma separated ids ],"next_cursor":0,"next_cursor_str":"0","previous_cursor":0,"previous_cursor_str":"0"}
Here is my code of index file: