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
40
votes
13 answers

How do I fix twitter-bootstrap on IE?

The navbar doesn't seem to be working properly in IE. Here's a screenshot of it in IE. I've been looking through many bootstrap-topics on stackoverflow.com, but the "help" they give people doesn't work for me. After body tag:
onni82
  • 501
  • 1
  • 4
  • 5
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
39
votes
1 answer

How to proceed with Twitter dropping support for the Twitter SDK?

Since Twitter announced that they will be discontinuing support for the Twitter SDK for iOS, Android and Unity (https://blog.twitter.com/developer/en_us/topics/tools/2018/discontinuing-support-for-twitter-kit-sdk.html), I am unsure of the best way…
JaseTheAce
  • 524
  • 5
  • 13
39
votes
2 answers

Asp.Net MVC 5 Owin Twitter Auth throwing 401 Exception

I have set up OAuth authentication using the Owin middleware based off the default project that gets created when starting a new Web project using "Individual accounts" authentication. I've tweaked it a bit, but Facebook and Google are working…
MikeAtCodeSmart
  • 591
  • 7
  • 14
39
votes
3 answers

spannable on android for textView

Tweet o = tweets.get(position); TextView tt = (TextView) v.findViewById(R.id.toptext); //TextView bt = (TextView) v.findViewById(R.id.bottomtext); EditText bt =(EditText)findViewById(R.id.bottomtext); bt.setText(o.author); Spannable spn =…
baran
  • 423
  • 1
  • 4
  • 5
39
votes
2 answers

TWTweetComposeViewController deprecated in IOS6

My code is working as expected just that I need to get rid of this warning message. TWTeetComposeViewController deprecated in IOS6. Any replacement for this built-in view controller in ios6? Here is my sample code. if ([TWTweetComposeViewController…
user1688346
  • 1,846
  • 5
  • 26
  • 48
38
votes
6 answers

Twitter OAuth (PHP): Need good, basic example to get started

Using Facebook's PHP SDK, I was able to get Facebook login working pretty quickly on my website. They simply set a $user variable that can be accessed very easily. I've had no such luck trying to get Twitter's OAuth login working... quite frankly,…
tnw
  • 13,521
  • 15
  • 70
  • 111
38
votes
4 answers

Twitter API - get tweets with specific id

I have a list of tweet ids for which I would like to download their text content. Is there any easy solution to do this, preferably through a Python script? I had a look at other libraries like Tweepy and things don't appear to work so simple, and…
Crista23
  • 3,203
  • 9
  • 47
  • 60
37
votes
12 answers

Is there a way to get the twitter share count for a specific URL?

I looked through the API documentation but couldn't find it. It would be nice to grab that number to see how popular a url is. Engadget uses the twitter share button on articles if you're looking for an example. I'm attempting to do this through…
Xavier
  • 8,828
  • 13
  • 64
  • 98
37
votes
1 answer

cURL and PHP: Stop output to screen

This PHP script prints all the data minus the XML to the browser (I'm using Chrome). How can I suppress output to screen? Twitcap
Andy
  • 3,132
  • 4
  • 36
  • 68
37
votes
6 answers

Avoid Twitter API limitation with Tweepy

I saw in some question on Stack Exchange that the limitation can be a function of the number of requests per 15 minutes and depends also on the complexity of the algorithm, except that this is not a complex one. So I use this code: import…
4m1nh4j1
  • 4,289
  • 16
  • 62
  • 104
37
votes
4 answers

How to force WebRequest to send Authorization header during POST

When using WebRequest to send a POST, the Authorization header is not sent with the request even though I have manually set the header and set PreAuthenticate to true, eg: webRequest.Headers["Authorization"] = "OAuth…
chris
  • 1,731
  • 4
  • 26
  • 33
36
votes
9 answers

Why this error ' - Read-only application cannot POST '

Logcat: 12-05 23:37:01.721:W/System.err(534): 401:Authentication credentials (https://dev.twitter.com/docs/auth) were missing or incorrect. Ensure that you have set valid conumer key/secret, access token/secret, and the system clock in in…
sayem siam
  • 1,281
  • 3
  • 13
  • 26
36
votes
4 answers

UIActivityViewController completion handler returns success when tweet has failed

I'm using a UIActivityViewController to display a share sheet so users can share my app. I'm currently testing tweets and i'm getting some unexpected results. On tweeting for the first time, all goes well. On the second time, i'm getting a duplicate…
Swinny89
  • 7,273
  • 3
  • 32
  • 52
36
votes
11 answers

Twitter API - Reasons for "invalid or expired token"

What are the possible reasons that can cause token to become expired (besides having the user un-authorising the app)? My problem is that I have an app with several thousands of users, all API communication works perfectly but for some users I am…
Ran
  • 3,455
  • 12
  • 47
  • 60