D
D
Denis Bukreev2018-07-02 16:14:15
JavaScript
Denis Bukreev, 2018-07-02 16:14:15

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

2 answer(s)
D
Dmitry Luzanov, 2018-07-02
@dmitry_luzanov

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

L
LobsterJoe, 2018-09-07
@LobsterJoe

https://github.com/jasonmayes/Twitter-Post-Fetcher

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question