twitter

Retrieve all hashtags from a tweet

Is it possible using the Twitter API to retrieve a list of all hashtags present within a single tweet? For example, let's say I have a tweet (let's say it has an ID of 12345) with the following text: Hi. I love #stackoverflow because it's #superawesome. #fb Is there an API call that will give me back #stackoverflow, #superawesom...

Twitter: Local messages via API

Hello! A few days ago, I saw that happn.in now offers a service where tweets (messages on twitter.com) are grouped and analyzed for local areas. For several cities, they give you a list of trending terms. I know that you cannot exactly know how they do this but maybe you can help me, though: How can I do this, too? I have several appro...

Sending tweets from iPhone apps using Oauth

Does anyone know of a good example utilizing the twitter API and Oauth authentication for iPhone SDK 2.2.1 or older? Found an example, but it seems to utilize a 3.0 only framework at http://ow.ly/bdpm . ...

twitter / maps mashup - general process sugestions?

I'm supposed to make a maps twitter mashup by monday. anybody have a smart thought as to how to make it go? My issue: you can get a feed of all tweets on a subject with the search API, but It doesn't seem like there is a way to get the search API to spit out user locations with the tweets. is the best way to do it really to: get the...

YQL for twitter follower's tweets

How can I get a list of the tweets of a particular twitter account's followers? I can get a list of the follower's ids with this: select id from xml where url='http://twitter.com/followers/ids/sqlservercentrl.xml' my assumption was that to retrieve the tweets for all these ids I should then be able to write: select title from twitter...

Work flow for authentication and API use with Twitter on OAuth

I'm a bit confused about all this OAuth bruhaha in the sense that all the examples I can find are for web applications and none of them for desktop applications. I understand the Web application work flow, but that includes some redirections between the web app and twitter. How does one do this in an desktop application? How does the ...

uninitialized constant Twitter::OAuth - Overlooking a require somewhere?

I'm looking to use the latest Twitter gem for a Rails app I'm working on. However, executing the following line: oauth = Twitter::OAuth.new(ServiceAPIKeys.twitter['api_key'], ServiceAPIKeys.twitter['secret_key']) Triggers the following exception: uninitialized constant Twitter::OAuth I do have the gem configured in my environment....

Powershell script problem (Get-content vs assigning to variable)

Hello everyone, I'm attempting to write a Twitter Powershell script that will use community created interfaces PoshTwitter with the Twitter API to attempt and find a list of followers who are potential spammers. I have a feeling that my problem lies not with the particular cmdlet I'm calling (Get-TwitterFollowers), but rather with the ...

Twitter API + OAuth: Can't send status updates, getting 401

I'm trying to use Twitter's API and OAuth to send status updates (new Tweets). I am using Shannon Whitley .NET code example http://www.voiceoftech.com/swhitley/?p=681 (as recommended on the Twitter API docs). I can read (GET) using OAuth just fine, however when I try to send a status update via http ://twitter.com/statuses/update.xml (us...

Is there any way for the Google App Engine's urlfetch to open and keep open a Twitter Streaming API connection?

The Twitter streaming api says that we should open a HTTP request and parse updates as they come in. I was under the impression that Google's urlfetch cannot keep the http request open past 10 seconds. I considered having a cron job that polled my Twitter account every few seconds, but I think Google AppEngine only allows cron jobs onc...

Removing the URL and @REPLIES from a tweet.

enter code for($i=0;$ientry);$i++) { //get the id from entry $id = $xml->entry[$i]->id; //explode the $id by ":" $id_parts = explode(":",$id); //the last part is the tweet id $tweet_id = array_pop($id_parts); //get the account link $account_link = $xml->entry[$i]->author->uri; //get the image link $image_link = $xml->entry[$i]->li...

Testing strategies for Ruby on Rails & Twitter OAuth

I am developing an application that utilizes twitter oauth and ran into a brick wall trying to figure out how to test twitter oauth. Particularly trying to use Cucumber and Webrat/Selenium to do test the functionality -- Certain steps in the registration/logon process behave differently if the user has given oauth access to the app or no...

Should I initialize my AUTO_INCREMENT id column to 2^32+1 instead of 0?

I'm designing a new system to store short text messages [sic]. I'm going to identify each message by a unique identifier in the database, and use an AUTO_INCREMENT column to generate these identifiers. Conventional wisdom says that it's okay to start with 0 and number my messages from there, but I'm concerned about the longevity of m...

Coldfusion/OAuth/Twitter API

I'm trying to integrate with twitter using their OAuth api. I have downloaded and tried the CF implementation here: http://oauth.riaforge.org/ with no success. Anyone have a simple CF to twitter OAuth example for authorizing a user, getting a token, and using it? ...

twitter status message update through bot using php and twitter oauth

Hi, I have followed the steps defined in the following link for twitter oauth implementation. https://docs.google.com/View?docID=dcf2dzzs_2339fzbfsf4 Its working fine when i run through web browser but i want a user should be able to update status of twitter account through gmail chat i.e. he should only be authenticated once through ...

Is there a minimum wait time in between twitter messages?

Hello all, Consider this: require 'Twitter.class.php'; $tweet = new Twitter("username", "password"); foreach($comment as $key => $value) { $link = $db->get_row("sql query"); //sleep(10;) $tweet->update('$link'); } } This makes a new twitter message for every loop, the loop happens about 10 times and I e...

Twitter text compression challenge

Rules Your program must have two modes: encoding and decoding. When encoding: Your program must take as input some human readable Latin1 text, presumably English. It doesn't matter if you ignore punctuation marks. You only need to worry about actual English words, not L337. Any accented letters may be converted to simple ASCII. You m...

How does Feedly determine Twitter name?

When trying out http://www.feedly.com/ I noticed it automatically recognized my Twitter-name. How? ...

Twitter search api blocked from Amazon EC2 in Ruby only, not curl...is this Net::HTTP?

This is a weird one that anyone can repro at home (I think) - I am trying to write a simple service to run searches on Twitter on a service hosted on EC2. Twitter returns me errors 100% of the time when run in ruby, but not in other languages, which would indicate it's not an IP-blocking issue. Here is an example: admin@ec2-xx-101-152-x...

Using Twitter as a mechanism to remote control applications?

I was brainstorming interesting usages of Twitter and came up with the following: An application can use it as a call home mechanism An application that has an invalid license could broadcast its location A software company could use it as a remote shell like interface and issue commands to shutdown, restart and to publish patches An a...