Questions tagged [tweets]

Tweets are text-based posts of up to 280 characters, created by users of Twitter, a social networking and microblogging service.

Tweets are text-based posts of up to 280 characters, created by users of Twitter, a social networking and microblogging service. Use this tag when your question is specifically about handling tweets. See also .

700 questions
48
votes
5 answers

How to retrieve all tweets from a user and not just the first 3,200 as Twitter limits it’s timeline and API to

With https://dev.twitter.com/docs/api/1/get/statuses/user_timeline I can get 3,200 most recent tweets. However, certain sites like http://www.mytweet16.com/ seems to bypass the limit, and my browse through the API documentation could not find…
apscience
  • 7,033
  • 11
  • 55
  • 89
39
votes
3 answers

What exactly does 'since_id' and 'max_id' mean in the Twitter API

I've been poring over the Twitter docs for some time now, and I've hit a wall how to get stats for growth of followers over a period of time / count of tweets over a period of time... I want to understand from the community what does since_id and…
Hrishikesh Choudhari
  • 11,617
  • 18
  • 61
  • 74
34
votes
1 answer

Can one style a custom Tweet button AND utilise the data attributes?

I am creating a custom Tweet button with my own styles however it seems when you opt for customising your own you cannot use the data attributes (data-text, data-url etc.). The utilisation of the data attributes only seem available when you use the…
igneosaur
  • 3,268
  • 3
  • 29
  • 44
22
votes
2 answers

UITableView: changing footer view's size programmatically doesn't work

My table view's footer is a view that shows some tweets from a user, so I do not know its height until I got the tweets, I created a FooterViewController that has a method refreshTweets, I add it in viewDidLoad: FooterViewController *controller =…
Heuristic
  • 5,087
  • 9
  • 54
  • 94
21
votes
4 answers

How to get "bigger-size" user image with Twitter API 1.1?

I'm trying to get last 5 tweets from a person. I did it, but profile picture is not looking normal, resolution is corrupted. like that. ! http://i.hizliresim.com/wLQEJZ.jpg var $twitter = $('#twitter'); …
user2674354
  • 298
  • 2
  • 3
  • 12
19
votes
6 answers

AttributeError: 'float' object has no attribute 'lower'

I'm facing this attribute error and I'm stuck at how to handle float values if they appear in a tweet.The streaming tweet has to be lower cased and tokenized so i have used split function. Can somebody please help me to deal with it, any workaround…
Vishal Kharde
  • 1,553
  • 3
  • 16
  • 34
17
votes
5 answers

Getting tweet replies to a particular tweet from a particular user

I am trying to go through tweets of a particular user and get all replies on that tweet. I found that the APIv1.1 of twitter does not directly support it. Is there a hack or a workaround on getting the replies for a particular tweet. I am using…
Huga
  • 571
  • 1
  • 8
  • 21
15
votes
1 answer

How can we get tweets from specific country

I've read a lot about this part and what I found is to write the geocode and search for tweets for example https://api.twitter.com/1.1/search/tweets.json?geocode=37.781157,-122.398720,1mi&count=10 according to what i found in twitter website Returns…
user2490790
  • 225
  • 1
  • 2
  • 8
14
votes
3 answers

How to convert a tweet to image

Is there any specific app, website or something that converts tweets into images? I would like to share tweets in other apps like Telegram, whatsapp etc. Thanks in advance
Salman Mhmdi
  • 151
  • 1
  • 1
  • 6
12
votes
1 answer

Twitter API - upload an image

I try to upload an image via Twitter api , as described there I created a form with name="status" and name="media[]" -
URL87
  • 10,667
  • 35
  • 107
  • 174
11
votes
4 answers

Post tweet with tweepy

I'm trying to post a tweet with the tweepy library. I use this code: import tweepy CONSUMER_KEY ="XXXX" CONSUMER_SECRET = "XXXX" ACCESS_KEY = "XXXX" ACCESS_SECRET = "XXXX" auth = tweepy.OAuthHandler(CONSUMER_KEY,…
Riccardo Gai
  • 421
  • 1
  • 6
  • 19
10
votes
2 answers

How to use background task using Swift 3?

I am new in background tasks. I have a small work that I am fetching tweets and If my app is in background mode then also it should fetch tweets, but I don't know how. I am using simply Timer in Appdelegate didFinishLaunchOption Method. When I will…
Kishor Pahalwani
  • 1,010
  • 1
  • 23
  • 53
8
votes
2 answers

Not able to send a Tweet with TwitterKit on iOS 11

I am trying to use the TwitterKit to compose a tweet, via the TWTRComposer class provided. This is the function I call: -(void) tweet:(UIViewController *) root { TWTRComposer *composer = [[TWTRComposer alloc] init]; [composer setText:@"just…
Miki P
  • 652
  • 1
  • 9
  • 22
8
votes
1 answer

remove unicode emoji using re in python

I tried to remove the emoji from a unicode tweet text and print out the result in python 2.7 using myre = re.compile(u'[\u1F300-\u1F5FF\u1F600-\u1F64F\u1F680-\u1F6FF\u2600-\u26FF\u2700-\u27BF]+',re.UNICODE) print myre.sub('', text) but it seems…
Young
  • 254
  • 1
  • 3
  • 10
8
votes
1 answer

twitter api 1.1 url count alternative

I've been using the old url api(v1) to get the count of a given url, lately I needed to get also the re-tweets and started searching about that. this is the exact url I'm using right…
mithril_knight
  • 547
  • 4
  • 19
1
2 3
46 47