Questions tagged [twitter-rest-api]

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.

95 questions
3
votes
0 answers

Using R for Creating a complete twitter history

Since twitter decided to index all tweets since 2006 I am trying to use the twitteR package for R to create a complete user's tweet history. In the case below I am trying to create this for Jack Dorsey. I tried this with myself (short history on…
2
votes
1 answer

Get number of video views from a video tweet

I'm looking for a way to get the number of video views from a video tweet. With the search/tweets I can get the number of favorites and retweets but not the views. Is it possible?
MazarD
  • 2,759
  • 2
  • 22
  • 33
2
votes
1 answer

How to geocode a table of invalid/incorrect locations in R?

I have collected data of different users' location from twitter. I am trying to plot those data in a map in R. The problem is users have given invalid/incorrect addresses which causes geocode function to fail. How can I avoid this failure? Is there…
2
votes
0 answers

Twitter API rate limit to the number of retweets

I am trying to extract the screen names of twitter users who have retweeted a particular tweet. This is the code that I have in Python # Connect to Twitter auth = tweepy.AppAuthHandler(CONSUMER_KEY, CONSUMER_SECRET) api = tweepy.API(auth) print…
jamie.s
  • 21
  • 2
2
votes
2 answers

The specified Integrator Key was not found or is disabled. An Integrator key was not specified

Hi can someone please help here.Below is the request and error: Error "The specified Integrator Key was not found or is disabled. An Integrator key was not specified." JSOn Request : var creds = JSON.stringify({ Username:…
2
votes
2 answers

Simple GET request with Twitter API in iOS

Does anyone know how to do a simple GET request of a user's timeline using the Twitter API in iOS? https://dev.twitter.com/rest/reference/get/statuses/user_timeline I realize there are multiple frameworks out there but this is all I need and would…
Berry Blue
  • 15,330
  • 18
  • 62
  • 113
2
votes
1 answer

parsing twitter search json data using NSJSONSerialization

I am parsing twiter search api json data with NSJSONSerialization.Requirement is to search tweets by hashtag.In Twitter api console tool I am correctly getting data about 15 tweets. written code is if let results: NSDictionary = NSJSONSerialization…
Rohit
  • 895
  • 1
  • 9
  • 19
2
votes
0 answers

How to post with twitter API from client side

I am looking for a method to let the user: sign in with twitter (I have setup this already) post a tweet from my website upon success, return the ID of the tweet How can this be achieved? The issue I see is that a user needs to setup a client id…
WJA
  • 6,676
  • 16
  • 85
  • 152
2
votes
1 answer

Twitter oauth without server, or server in different domain

I have a site on angular (e.g: app-client.com), where every piece of data comes from another REST API site (e.g: app-api.com). The app-client.com is only a bunch of html, css, and javascript files, and no server-side scripts (None of these: PHP,…
Raabb Ajam
  • 35
  • 5
2
votes
1 answer

Twitter REST API Vs Twitter Fabric - Twitter Core

I could see, we have two options for integrating twitter in Andriod Apps. 1. Twitter REST Api 2. Twitter Fabric - Twitter Core what is the difference between both. Is it only the way to access the data is different ?(Twitter REST Api is calling…
Sowmia Sundararajan
  • 1,613
  • 2
  • 14
  • 17
2
votes
1 answer

How do I use AFOAuth2Manager to get application credentials for the Twitter REST API

I'm trying to access a single part of the Twitter API, without logging in a user account (application-only authentication is what I want), so I don't want to add some framework just to perform this one operation. I'm trying to do it with…
Ben Pious
  • 4,765
  • 2
  • 22
  • 34
1
vote
1 answer

python twitter api returns inconsistent number of tweets each second

I'm trying to write my own twitter-fetch api, based on the python-twitter library. The goal is to fetch the last 5 tweets of Donald Trump. I'm getting a different number of tweets every other second or so. Sometimes it's 5 tweets, sometimes it's…
hasdrubal
  • 1,024
  • 14
  • 30
1
vote
0 answers

Does third party authorized application have access to private tweet? i am having issue with user timeline REST API

I am not sure about whether third party authorized application have access to private tweet in twitter b/c i am getting error with {} (with status 200) when i used user timeline REST API. I am using Twitter-npm. //Initialise twitter client…
1
vote
1 answer

Twitter video media upload not working : Error: HTTP Error: 400 Bad Request

I am trying upload and post video media to the twitter using 'twitter' npm package. During this I am facing an error : error Error: HTTP Error: 400 Bad Request at Request._callback…
Bhushankumar Lilapara
  • 780
  • 1
  • 13
  • 26
1
vote
0 answers

How to reply to the tweets which have mentioned me in their tweets

I'm trying to reply to tweets programmatically, those which have mentioned me in their tweets. So I collected the tweets which have mentioned me from the mention_timeline Api mentioned_me_tweets.php
JYoThI
  • 11,977
  • 1
  • 11
  • 26