The REST APIs provide programmatic access to read and write Twitter data. Create a new Tweet, read user profile and follower data, and more. The REST API identifies Twitter applications and users using OAuth; responses are in JSON format.
Questions tagged [twitter-rest-api]
95 questions
18
votes
2 answers
Twitter Streaming API limits?
I understand the Twitter REST API has strict request limits (few hundred times per 15 minutes), and that the streaming API is sometimes better for retrieving live data.
My question is, what exactly are the streaming API limits? Twitter references a…

redbird_is
- 181
- 1
- 1
- 4
9
votes
2 answers
Twitter Rest API: 404 No user matches for specified terms
Twitter allows up to 100 user ids at a time to query for user profile information. But if there is an invalid ID among those, it returns:
404 (Not Found), No user matches for specified terms
without specifying which is the bad ID and no data is…

onurmatik
- 5,105
- 7
- 42
- 67
8
votes
2 answers
Twitter REST api: How to get all the users not following back?
given the Twitter api call limitations, how to get a complete list of all the users not following you back? There are so many methods (friendship lookups, followers and following lists) that I don't know how to do this in the most efficient…

pistacchio
- 56,889
- 107
- 278
- 420
7
votes
2 answers
Twitter OAuth Rest Api Status Parameter '@' symbol
I am using twitter rest api which is (https://api.twitter.com/1.1/).
First of all I used signpost library to generate oauth_signature. it is working well.
Upload Status endpoint (https://api.twitter.com/1.1/statuses/upload.json) is working well,…

okarakose
- 3,692
- 5
- 24
- 44
7
votes
1 answer
How to perform oauth when doing twitter scraping with python requests
I am trying to retrieve 100 recent tweets of a user. It is working well with tweepy module in Python. But how can I do the same with requests in python. I want to do:
import requests
r =…

sudheesh ks
- 351
- 1
- 8
- 15
5
votes
1 answer
Getting statuses on Twitter via REST API doesn't always return media URLs
I can't seem to get the embedded URL in a status, for example, in id=780804331608109057 -
https://twitter.com/i/web/status/780804331608109057
When I retrieve this via GET /statuses/:id, with include_entities set to true, the response looks like…

sameers
- 4,855
- 3
- 35
- 44
5
votes
5 answers
Tweepy SSLError regarding ssl certificate
I am running a REST API (Search API) with Tweepy in Python. I worked the program at home and it's totally fine. But now I am working on this in different networks and I got the error message.
SSLError: ("bad handshake: Error([('SSL routines',…

Wei-Ting Liao
- 115
- 2
- 9
5
votes
2 answers
How do you upload a chunked video to twitter using node
How would you upload a video to twitter using the POST media/upload (chunked) endpoint with node?

Piotr Tomasik
- 9,074
- 4
- 44
- 57
5
votes
4 answers
iOS - Unable to Upload media with Twitter/Fabric New SDK
I want to post a photo to twitter from my iOS app. I can post a tweet without media but when i am trying to attach media it throws an error.
I am following twitter documentation and according to that first I need to upload media to…

Hussaan S
- 271
- 1
- 12
4
votes
0 answers
How to avoid Tweepy timeout error?
I have been using tweepy to track tweets through given periods of time (intervals within the past 7 days of my searches), although my issue now is that when searching and storing tweets based on a highly used query search (i.e. a trending topic)…

Mohammed B
- 305
- 1
- 4
- 14
4
votes
3 answers
Value registerAsTable is not a member of org.apache.spark.rdd.RDD[Tweet]
I am trying to extract twitter data using rest API in zeppelin. Tried both option registerAsTable and registerTempTable, both ways are not working. Please help me to resolve the error. Getting below error while executing zeppelin Tutorial…

Sonal
- 41
- 2
4
votes
1 answer
can you get stats from the twitter api
is there a way to get the impressions of tweets generated through the api? or the most retweeted tweet that an app/api generated?

Chris Mccabe
- 1,902
- 6
- 30
- 61
3
votes
1 answer
Twitter REST API - how to check if an app has certain permission?
Before attempting to write to a user's timeline, I would want to check if an app has write access. How do I check this?

Artehsk Rana
- 37
- 6
3
votes
1 answer
Twitter API - last activity date of a user?
Is there any way to find out when was the last time a user was active, that is, either the last login date or tweet or retweet on Twitter via API? Any activity of a user.
user266003
3
votes
1 answer
How to get more than 100 retweets of the specific tweet?
I use Twitter REST API. Is there any way to get more than 100 retweets of the specific tweet? The default methods may return only 100 retweets.

Denis
- 3,595
- 12
- 52
- 86