Questions tagged [twitter]

Twitter is a microblogging service that lets users post short "Tweets" of up to 280 characters. These can also be posted via its API.

Twitter is a social networking and microblogging service that enables its users to send and read short status messages ("Tweets") - originally, up to 140 characters. Users can "follow" other users to build a social network, and can "retweet" messages they wish to propagate to their followers.

Private, direct messages to other users are possible, as well as public replies and "@mentions".

Messages can be tagged with particular topics using "hashtags" such as #stackoverflow. Messages can optionally be geo-tagged if sent from a GPS-equipped device.

Tweets can also be posted, read, and searched via its API https://developer.twitter.com.

25293 questions
47
votes
2 answers

Authenticate and request a user's timeline with Twitter API 1.1 oAuth

This morning I have received the dreaded 'The Twitter REST API v1 is no longer active. Please migrate to API v1.1.' error in a few of my web sites. Previously I have been using javascript/json to make these calls to…
hutchonoid
  • 32,982
  • 15
  • 99
  • 104
46
votes
2 answers

Do twitter access token expire?

I am building a web app from where the user can manage his twitter account. I've created the twitter app and once the user authenticates himself the application gets the access token from twitter. Does this access token expire or I can store it and…
Florian Shena
  • 1,384
  • 4
  • 19
  • 27
46
votes
2 answers

How can I do OAuth request by open new window, instead of redirect user from current page?

I have done OAuth authentication with Twitter and Facebook. Currently, with each of these site, my server redirect user to a specified URL (for example, http://api.twitter.com/oauth/authorize with Twitter), then receive authentication parameters by…
Hoàng Long
  • 10,746
  • 20
  • 75
  • 124
46
votes
18 answers

Misalignment of Facebook & Twitter buttons

The page contains two buttons, from twitter and from facebook. What I'm observing in Firefox 3.5.15 is: While the page is loading, the buttons are more or less aligned (I mean their bottom sides) When the page is loaded, the facebook button moves a…
Roman Cheplyaka
  • 37,738
  • 7
  • 72
  • 121
46
votes
3 answers

Python Twitter library: which one?

I realize this is a bit of a lazyweb question, but I wanted to see which python library for Twitter people have had good experiences with. I've used Python Twitter Tools and like its brevity and beauty of interface, but it doesn't seem to be one of…
Parand
  • 102,950
  • 48
  • 151
  • 186
44
votes
8 answers

How can I get tweets older than a week (using tweepy or other python libraries)

I have been trying to figure this out but this is a really frustrating. I'm trying to get tweets with a certain hashtag (a great amount of tweets) using Tweepy. But this doesn't go back more than one week. I need to go back at least two years for a…
MustiHakan
  • 441
  • 1
  • 4
  • 3
44
votes
9 answers

Character countdown like on twitter

How can I make a "remaining characters" countdown like the one on Twitter with jQuery? And also limit the input to a textarea.
argon
  • 457
  • 1
  • 5
  • 4
44
votes
5 answers

How to make an API call using meteor

Ok here is the twitter API, http://search.twitter.com/search.atom?q=perkytweets Can any one give me any hint about how to go about calling this API or link using Meteor Update:: Here is the code that i tried but its not showing any response if…
iJade
  • 23,144
  • 56
  • 154
  • 243
43
votes
7 answers

Does Scala scale better than other JVM languages?

Here is the only way I know to ask it at the moment. As Understand it Scala uses the Java Virtual Machine. I thought Jruby did also. Twitter switched its middleware to Scala. Could they have done the same thing and used Jruby? Could they have…
johnny
  • 19,272
  • 52
  • 157
  • 259
43
votes
4 answers

How to store a secret API key in an application's binary?

I am creating a Twitter client for Mac OS X and I have a Consumer secret. It's to my understanding I should not share this secret key. The problem is that when I put it as a string literal into my application and use it, like this: #define…
user142019
42
votes
5 answers

Twitter API to get recent tweets of a particular user

Which API would I need to use to get 'n' recent tweets of a particular user with a public account?
user330973
  • 823
  • 2
  • 9
  • 16
42
votes
10 answers

Building Twitter profile image url with Twitter user id

Is there any way of building a profile image url with user id or screen name? I store user ids in database but i don't want to store profile image url. edit: I don't want to make a api call too. I want to put user_id inside a url like
mcan
  • 1,914
  • 3
  • 32
  • 53
41
votes
3 answers

For Twitter , how to create test user accounts?

Facebook allows you to create test user accounts that can only be used for testing purpose. Does Twitter provide similar functionality ? I don't want to get my application blacklisted for creating fake user accounts; do I have to use my real user…
user193116
  • 3,498
  • 6
  • 39
  • 58
41
votes
3 answers

Pandas max value index

I have a Pandas DataFrame with a mix of screen names, tweets, fav's etc. I want find the max value of 'favcount' (which i have already done) and also return the screen name of that 'tweet' df = pd.DataFrame() df['timestamp'] = timestamp df['sn'] =…
mGarsteck
  • 671
  • 2
  • 6
  • 16
41
votes
8 answers

Keep getting OAuth::Unauthorized error when using oauth and twitter ruby gems

I am using the ruby twitter gem and oauth to gain access to users twitter accounts. In my code, I have: unless @user.twitter_authd? oauth = Twitter::OAuth.new('token', 'secret') session[:twitter_request_token] =…
Tony
  • 18,776
  • 31
  • 129
  • 193