You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is possible to display a tweet using Twitter tools:
41
-
#. the Javascript API and the id of a tweet: `Javascript API <https://developer.twitter.com/en/docs/twitter-for-websites/javascript-api/overview>`_.
41
+
#. the Javascript API and the id of a tweet: `Twitter Javascript API <https://developer.twitter.com/en/docs/twitter-for-websites/overview>`_.
42
42
#. the Oembed API and the url of a tweet: `GET statuses/oembed <https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/get-statuses-oembed>`_.
43
43
44
44
How to access the content of a Tweet or an Author using a list of Ids
@@ -47,5 +47,10 @@ How to access the content of a Tweet or an Author using a list of Ids
47
47
It is possible to *access the content of a tweet or an author* by using the Twitter API.
48
48
#. First, you need to register and create an app on the `Twitter Developer Website <https://developer.twitter.com/en/docs.html#/>`_.
49
49
#. Using your app and credentials, you will be able to access:
50
-
* Tweet Content by providing up to 100 tweet ids per calls using: `GET statuses/lookup <https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-users-lookup/>`_. (A user object is included as Author of a Tweet object)
51
-
* User Content by providing up to 100 user ids per calls using: `GET users/lookup <https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-users-lookup/>`_.
50
+
* Tweet Content by providing up to 100 tweet ids per calls using: `GET statuses/lookup <https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/get-statuses-lookup>`_. (A user object is included as Author of a Tweet object)
51
+
* User Content by providing up to 100 user ids per calls using: `GET users/lookup <https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-users-lookup>`_.
52
+
#. The number of tweets you can retrieve using this methods will be affected by the rate-limit implemented by twitter in its API.
53
+
54
+
**How to evaluate the max number of tweets to be retrieved**:
55
+
``100 tweets per request * 900 calls per 15min Windows (by using user_auth) = 90 000 tweets per 15min``
56
+
``90 000 Tweets per 15 min * 4 (one hour) * 24 (one day) = 8 640 000 tweets per day``
0 commit comments