citp / news-disinformation-study

A research project on how web users consume, are exposed to, and share news online.
8 stars 2 forks source link

Handle Twitter likes in the SocialMediaSharing module #8

Closed jonathanmayer closed 4 years ago

jonathanmayer commented 4 years ago

Looks like the relevant API endpoint is https://api.twitter.com/1.1/favorites/create.json, though it doesn't return tweet content. We'll likely have to resolve the tweet getting liked with another API call to the endpoint at https://api.twitter.com/1.1/statuses/lookup.json.