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
85
votes
9 answers

Is there a way to get a user's email ID after verifying his/her Twitter identity using OAuth?

I am new to OAuth and have been playing around with the Twitter API. I am able to fetch the credentials of a user after authentication by making a request to http://api.twitter.com/1/account/verify_credentials.xml. The response contains the user id,…
Manoj Govindan
  • 72,339
  • 21
  • 134
  • 141
82
votes
7 answers

Open page in Twitter app from other app - Android

I was looking for some way to launch Twitter app and open a specified page from my application, without webview. I found the solution for Facebook here: Opening facebook app on specified profile page I need something similar. [EDIT] I've just found…
jbc25
  • 1,192
  • 2
  • 14
  • 20
74
votes
6 answers

python: [Errno 10054] An existing connection was forcibly closed by the remote host

I am writing python to crawl Twitter space using Twitter-py. I have set the crawler to sleep for a while (2 seconds) between each request to api.twitter.com. However, after some times of running (around 1), when the Twitter's rate limit not exceeded…
Nama Keru
  • 911
  • 1
  • 7
  • 10
74
votes
10 answers

Social Share Links with Custom Icons

I'm looking for any solid current information on creating custom share icons for the following. Facebook Twitter Google + LinkedIn Pinterest All the documentation I keep getting to seems to be about using THEIR social like / share buttons - which…
bigmadwolf
  • 3,419
  • 3
  • 30
  • 44
71
votes
4 answers

How to access elements of a JArray (or iterate over them)

I have the following Json gotten from Twitter + token {[ { "trends": [ { "name": "Croke Park II", "url": "http://twitter.com/search?q=%22Croke+Park+II%22", "promoted_content": null, "query":…
Stephen Hynes
  • 22,071
  • 6
  • 18
  • 20
69
votes
8 answers

Owin Twitter login - the remote certificate is invalid according to the validation procedure

I started getting this error recently when trying to login using twitter- any idea why? Stack Trace: [AuthenticationException: The remote certificate is invalid according to the validation procedure.] System.Net.TlsStream.EndWrite(IAsyncResult…
user441365
  • 3,934
  • 11
  • 43
  • 62
66
votes
8 answers

Can I fetch the tweet from Twitter if I know the tweet's id?

Can I fetch the tweet from Twitter if I know the tweet's id?
pankaj
65
votes
9 answers

How to force cache purge of Twitter Card's bots?

Literally I am looking for something like this: https://developers.facebook.com/tools/debug/ But for Twitter Cards. I put something wrong on my pages and I need them to be refreshed asap. But after google I only found this…
AGamePlayer
  • 7,404
  • 19
  • 62
  • 119
65
votes
5 answers

How to implement cursors for pagination in an api

This is similar to to this question which doesn't have any answers. I've read all about how to use cursors with the twitter, facebook, and disqus api's and also this article about how disqus generally built their cursors, but I still cannot seem to…
Micah
  • 111,873
  • 86
  • 233
  • 325
64
votes
3 answers

How can I open a Twitter tweet using the native Twitter app on iOS?

A tweet can be opened by Safari with a link of this format: http://twitter.com/1Direction_X/statuses/197752514391715842 On iOS 5, Twitter is built-in. How can I open the above tweet using the native Twitter app called from my app?
vietstone
  • 8,784
  • 16
  • 52
  • 79
63
votes
7 answers

Best java twitter library?

The twitter API site lists 4 java twitter libraries. Twitter4j java-twitter jtwitter twittered Do you know others? What are your experiences in support, ease of use, stability, community, etc.
flybywire
  • 261,858
  • 191
  • 397
  • 503
63
votes
9 answers

How to make calls to Twitter API using Postman client

I have followed the steps required to create a new application and getting consumer key, secret pairs and also the token access details. Now I would like to make calls to Twitter Rest API, using chrome Postman client. How should I pass the customer…
learner
  • 6,062
  • 14
  • 79
  • 139
62
votes
14 answers

Android - Share on Facebook, Twitter, Mail, ecc

I need to develop an app that has the share function. I have to share on Facebook, twitter, email and maybe other services. How can I do this? There a library on the net? For the iOS development there were ShareKit, but for Android? Thanks :)
Andrea Mario Lufino
  • 7,921
  • 12
  • 47
  • 78
62
votes
9 answers

Android Intent for Twitter application

Is it possible to show a list of applications (with intent.createChooser) that only show me my twitter apps on my phone (so htc peep (htc hero) or twitdroid). I have tried it with intent.settype("application/twitter") but it doesnt find any apps for…
wouter88
  • 1,294
  • 4
  • 15
  • 19
61
votes
3 answers

URL link to Twitter user with ID, not name

I want to have a link to my twitter page that references it with my twitter ID and not twitter name. This is because I want to build the link into an app and the twitter name for the account may change in future.
Matt
  • 611
  • 1
  • 6
  • 3