Search for tweets with t.co rewritten links

前端 未结 4 1397
孤街浪徒
孤街浪徒 2021-02-05 06:14

Just noticed a spike of visitors following a t.co/LINKHERE a link re-written by twitter. Is there a way to track back to the twitter message that contained the link, if you know

4条回答
  •  不要未来只要你来
    2021-02-05 06:23

    Here’s the quick and easy way:

    1. Go to: http://dev.twitter.com/rest/tools/console
    2. Service: “api.twitter.com/1.1”

    3. Authentication: OAuth 1, then log in if you need to

    4. Make sure GET is selected and paste https://api.twitter.com/1.1/search/tweets.json?q=http%3A%2F%2Ft.co%2F{**SUFFIX**} into the Request URL box.

    5. Replace **SUFFIX** with the t.co URL suffix. So if the URL you’re searching for is t.co/**N2ul8FFCxu**, the link you pasted should look like this:

    https://api.twitter.com/1.1/search/tweets.json?q=http%3A%2F%2Ft.co%2F{**N2ul8FFCxu**}

    1. Click Send

    2. Open a new tab and paste twitter.com/**SCREEN_NAME**/status/**ID_STR** into the address bar

    3. Replace **SCREEN_NAME** and **ID_STR** with info from Response. Like this:

    twitter.com/**twitter**/status/**526534593826938881**

提交回复
热议问题