Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

find tweets mentioning any arbitrary twitter user

Tags:

twitter

For statuses/mentions, I need to authenticate as a user. I want to see the user's mentions without asking him/her to authenticate. If the tweets are public, what are the mentions not public ?

I'm writing to do this

like image 392
letronje Avatar asked Nov 14 '10 15:11

letronje


People also ask

How can I see all tweets mentioning someone?

Click on the Notifications from the top bar. Navigate to "Mentions". Click on the Mentions, near the "All". Done.

How do you find out if someone said something on Twitter?

You can use Twitter's advanced search tools to search through someone's tweets. Use this tool when you want to find what someone has tweeted about a specific topic, or to track down a specific tweet they made. When searching, you can also set a date range and only get tweets sent on those dates.


2 Answers

Check the Twitter search API https://developer.twitter.com/en/docs/tweets/search/api-reference/get-search-tweets.html

To find all user mentions: just use @username as search term.

like image 102
Vadim Avatar answered Oct 11 '22 15:10

Vadim


I would like to add that Twitter's Search API returns only tweets from past 7 days. So if you want to retrieve ALL tweets mentioning an arbitrary user, you can't.
If anyone finds a way to do this, please mention.

like image 26
keerthana Avatar answered Oct 11 '22 16:10

keerthana