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
0
votes
1 answer
Twitter media/upload image by its web url
I followed the steps in media/upload. I wrote this function in python
def upload_media(self,access_token,image_url):
client = self.get_client(access_token)
message = {'media' : image_url}
encoded_status = urllib.urlencode(message)
…

Nazih AIT BENSAID
- 133
- 1
- 2
- 13
0
votes
1 answer
Web Data connector in WPF C#
I am in need to develop a application which is used to access(get data from) web accessible resources like twitter,facebook,linkedIn,Salesforce etc. by using their appropriate REST API's. Can anyone please suggest me the pattern and architecture to…

Vinod Kumar
- 408
- 4
- 18
0
votes
1 answer
Can multiple statuses own the same media_id?
I'm using the Twitter REST API to automate posting statuses. Sometimes, it may be possible that multiple statuses can have the same image attached.
Do Twitter allow to use the same media_id for multiple statuses? This could avoid to upload multiple…

Epoc
- 7,208
- 8
- 62
- 66
0
votes
1 answer
How do I get the StatusID of a duplicate Tweet?
We're POSTing a Status to Twitter via the REST API using LINQ To Twitter.
When the Status is successfully POSTed we get a StatusID in the response which we use to Retweet the Status later.
If we have already successfully POSTed the Status then we…
user310988
0
votes
1 answer
How to get Fields and Field types in twitter REST API
How to get a field list and their types of the result of the Twitter REST API?
Forexample, Fields of the following twitter REST API is
https://api.twitter.com/1.1/users/show.json?screen_name=sachin_rt
Screen Name,Id,Location,followers count,friends…

Vinod Kumar
- 408
- 4
- 18
0
votes
1 answer
Making requests to update data on google app engine
I am building a simple application on Google App Engine, which uses twitter ReST Api. I am able to successfully obtain data from a GET request to twitter ReST Api. I am still new to python, so please excuse any ignorance. So my question is, what is…
user4432964
0
votes
2 answers
Twitter search api parameters
In twitter search api, I'm able to find new paramter src = 'typd' or src = 'sprv', getting different results for each src paramter.But I'm unable to figure it out, what the term 'typd' and 'sprv' means?
for…

rohini
- 9
- 4
0
votes
1 answer
get twitter api in html format
i used twitter user_timeline api to pull the tweets,there i found a property name of text,can i get the tweets in html format so that my hyperlinks may start working inside my loops to display.
i am using TwitterAPIExchange.php library for php
$url…

anujayk
- 544
- 7
- 31
0
votes
0 answers
How to stop DEBUG LOGS
I want to fetch the old tweets of twitter. i have used Twitter Rest Api for this purpose along with the spark streaming.
The relevant code is given below.
def fetchTweets(consumerKey : String ,consumerSecret :String ,accessToke:String…

Sadaf
- 247
- 5
- 16
0
votes
1 answer
How to get twitter api access using http request from browser
Is there any way to get the data from twitter api for any location?
var sanFrancisco = ['79.86','12.62','80.28','13.21']
var stream = T.stream('statuses/filter', { locations: sanFrancisco })
stream.on('tweet', function (tweet) {
…
0
votes
1 answer
Upload Multiple Photos to Twitter Using STTwitter
I know that you can put up to four images in a tweet, so I was wondering if that was possible, possibly using STTwitter
I know that you can upload one image using this method in STTwitter, but as far as I know this method doesn't support multiple…

Daniel Ran Lehmann
- 377
- 6
- 17
0
votes
1 answer
Get Authenticated User's Twitter Feed Using Fabric/Twitter Kit - Android
I've set up Fabric and a log in button in Android Studio using the guide from the docs and now want to fetch the logged in user's twitter feed such as on the official app.
How do I implement this? The official docs mention using the REST API but…

Timmo
- 2,266
- 4
- 34
- 54
0
votes
2 answers
How do you decode the tweets.json string returned from a twitter search API request?
How do you decode the tweets.json string returned from a twitter search API request?
I have looked through answers to similar questions. Those answers do show how to make a call, and how to display the data returned, but those don't deal with the…

Kevin Pollard
- 1
- 4
0
votes
0 answers
Streaming the result of REST API from Twitter
I'm working on the REST API of Twitter using Twitter4J libraries, particularly on the https://api.twitter.com/1.1/search/tweets.json endpoint. I am quite aware of Twitter's own Streaming API, but I don't want to use that (at least for now). I have a…

oikonomiyaki
- 7,691
- 15
- 62
- 101
0
votes
0 answers
Collecting tweets using Twitter4j by user's location and time frame
I'm currently getting tweets using Twitter4j an unofficial Java library for the Twitter API but my question is how to get a big data set of tweets from different users that don't have a keyword in common but do have their location in common. I know…

PrettyGirl
- 31
- 1
- 2