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 (https://developer.twitter.com).
732
votes
7answers
106k views
What's the shebang/hashbang (#!) in Facebook and new Twitter URLs for?
I've just noticed that the long, convoluted Facebook URLs that we're used to now look like this:
http://www.facebook.com/example.profile#!/pages/Another-Page/123456789012345
As far as I can recall, ...
302
votes
11answers
447k views
Find objects between two dates MongoDB
I've been playing around storing tweets inside mongodb, each object looks like this:
{
"_id" : ObjectId("4c02c58de500fe1be1000005"),
"contributors" : null,
"text" : "Hello world",
"user" : {
"...
282
votes
14answers
282k views
Simplest PHP example for retrieving user_timeline with Twitter API version 1.1
Because of the Twitter API 1.0 retirement as of June 11th 2013, the script below does not work anymore.
// Create curl resource
$ch = curl_init();
// Set url
curl_setopt($ch, CURLOPT_URL, "http://...
46
votes
2answers
47k views
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 ...
61
votes
9answers
77k views
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("...
85
votes
9answers
43k views
Is there a way to get an 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 an user after authentication by making a request to http://api.twitter.com/1/account/...
159
votes
12answers
160k views
{"<user xmlns=''> was not expected.} Deserializing Twitter XML
So im pulling in the XML from Twitter via OAuth
So Im doing a request to http://twitter.com/account/verify_credentials.xml
Which returns the following XML
<?xml version="1.0" encoding="UTF-8"?&...
34
votes
7answers
37k views
twitter integration on android app
I would like to integrate Twitter into my Android application so that I can post messages to Twitter.
22
votes
3answers
26k views
How to force Share Intent to open a specific app?
I like share intent, it is perfect to open sharing apps with image and text parameters.
But now i'm researching the way to force share intent to open a specific app from the list, with the paramters ...
15
votes
10answers
20k views
TwitteR, ROAuth and Windows: register OK, but certificate verify failed
I'm trying to get the number of followers of a large number of Twitter users with twitteR. Many of the other questions posted have been very useful in getting me this far, but none seem to be directly ...
106
votes
14answers
108k views
Twitter API returns error 215, Bad Authentication Data
I am trying to call following Twitter's API to get a list of followers for a user.
http://api.twitter.com/1.1/followers/ids.json?cursor=-1&screen_name=username
And I am getting this error ...
597
votes
15answers
92k views
Twitter image encoding challenge [closed]
If a picture's worth 1000 words, how much of a picture can you fit in 140 characters?
Note: That's it folks! Bounty deadline is here, and after some tough deliberation, I have decided that Boojum's ...
27
votes
3answers
65k views
Setting up Twitter API, getting the last few Tweets
I am completely new to using Twitter in general and have never embedded "latest tweets" on any project. I am simply trying to embed the 3-4 newest tweets on the site footer with no additional features ...
40
votes
8answers
25k views
regex for Twitter username
Could you provide a regex that match Twitter usernames?
Extra bonus if a Python example is provided.
11
votes
8answers
29k views
Best HashTag Regex
I'm trying to find all the hash tags in a string. The hashtags are from a stream like twitter, they could be anywhere in the text like:
this is a #awesome event, lets use the
tag #fun
I'm using ...