Answer the question
In order to leave comments, you need to log in
How to get the latest tweets of a specific user?
You need to get the user's tweets through JS, but Google gives either old non-working JS solutions or php solutions.
The method described on the official site does not work, because. on request
https://api.twitter.com/1.1/search/tweets.json?q=twitter
gives the answer: {"errors":[{"code":215,"message":"Bad Authentication data."}]}
Answer the question
In order to leave comments, you need to log in
You need to read to the end.
Please note that the API requires that the request be authenticated (check Authentication & Authorization documentation for more details on this). Also note that the search results at twitter.com may return historical results, while the Search API usually only serves Tweets from the past week.
Tyk
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question