fivethirtyeight / russian-troll-tweets

768 stars 214 forks source link

Resolving t.co links #27

Closed EvanCarroll closed 6 years ago

EvanCarroll commented 6 years ago

It would be great to resolve the t.co links, did some research and you need Twitter Enterprise access,

Will there be a URL shortening or resolution API? There is no resolution API (although Twitter's enterprise products provide URL expansion enrichments). URLs are wrapped automatically at time of Tweet or Direct Message submission. Resolved URLs are only available in the context of Tweet or Direct Message content as part of the entities response.

I've requested access to the end point with 2million calls. If they approve I'll get upload the resolved links to unshorten/deanonymize the t.co endpoints.

If not, this should stay open until someone does it because it seems possible.

patrick-lee-warren commented 6 years ago

I did it in Version 2 .

EvanCarroll commented 6 years ago

Confirmed, looking good.

dmil commented 6 years ago

Merged into master - thank you for your work. #28