twitter

Detecting on-topic text?

I'd like to sift text (in particular, Twitter messages) to see if they relate to a particular topic. Have you been down that road? If so, I'd love to hear what approach you'd use. For my case, just searching for topic keywords gets me useful text about 7% of the time; the keywords have multiple meanings, some of which aren't on topic. F...

Run Function Every Minute In Cocoa

Hi Everyone: I am wondering if there is some way to run a function every minute in Cocoa. I, personally, will be using this for saving content as the user types it in case they quit - But I have seen this effect also used in Twitter clients. When the user keeps the window open, it will auto-update every x minutes without input from th...

Find URLs, @replies and #hashtags from Tweets

I'm building a little Twitter thing in PHP and I'm trying to parse URLs, @replies and #hashtags and make them into clickable links. The @replies would link to http://twitter.com/replies #Hashtags would like to http://search.twitter.com/search?q=%23hashtags I've found a class for parsing URLs and I'm wondering if this could also be u...

hide updates in twitter

i am working on the Twitter API. I am going to use C# for developing the application. I found a more elaborated sample at http://linqtotwitter.codeplex.com for using twitter API. i need to show all tweets(Updates) of all the registered users in the application. I have the requirement to hide some of the updates of some users from the ...

Get Twitter User Details without Authentication

I have noticed some Twitter Applications manage to get a particular users Location, Name, Profile Image etc using just the twitter username? Hows is this possible? I ask because I have not come across any where in the Twitter docs on how you can do this. I can get a users details myself using oAuth when the user provides my app permiss...

Javascript converting DateTime to "______ seconds/minutes/hours/months ago"

The Twitter API returns time stamps of the form: "Sat, 25 Jul 2009 04:54:42 +0000" What's the best way to convert a time stamp of this form to "____ seconds/minutes/hours/months ago" depending on the time zone? Thanks ...

Using Twitter OpenAuth

I am currently starting a project that will interact with Twitter via it's OpenAuth system and I was wondering about a few of the details. If a user agrees to give my site access to their Twitter account, can I access their account even if they aren't on my site? For example, could I have a nightly job run that would pull in all of the...

Formatting Twitter text (TweetText) with C#

Is there a better way to format text from Twitter to link the hyperlinks, username and hashtags? What I have is working but I know this could be done better. I am interested in alternative techniques. I am setting this up as a HTML Helper for ASP.NET MVC. using System; using System.Collections.Generic; using System.Text.RegularExpressio...

Expectation Failed when trying to update twitter status

I can't seem to figure this one out. No matter what I do, I keep getting a "417 Expectation failed" error. Everywhere I've looked says that I need to get rid of the Expect header for the HttpWebRequest. Setting the static property ServicePointManager.Expect100Continue = false or the instance property on the web request request.ServicePoi...

MGTwitterEngine and iPhone

I downloaded MGTwitterEngine and added to my iPhone project. It's connecting and getting statues I can tell from dumping them into an NSLog. But, I can't figure out how how I need to parse the calls so I can add them to a table. They are returned as an NSString and look like this: { "created_at" = 2009-07-25 15:28:41 -0500; ...

Getting stats for Twitter app

I'm using Twitter's OAuth for my app (DroidIn) To my dismay I can't find any way to track who and how often is using the app. Searching Twitter for "sent from DroidIn" does not yield any results. I suppose I can call some sort of counter app from my code but that doesn't seem to be fair to my users. Any ideas or suggestions? ...

Twitter Trending Topics: Combine different spellings

Hello! Twitter's Trending Topics often consist of more than just one word. But for composed terms there are often different ways of spelling, e.g.: "Half Blood Prince" / "Half-Blood Prince" To find all updates mentioning a Trending Topic, you need all the ways of spelling. Twitter does this: You have the topic name on the left and ...

Update Twitter Status in C#

Hello, I'm trying to update a user's Twitter status from my C# application. I searched the web and found several possibilities, but I'm a bit confused by the recent (?) change in Twitter's authentication process. I also found what seems to be a relevant StackOverflow post, but it simply does not answer my question because it's ultra-s...

Twitter: verifying username and password in C#

Hello, I have an application with the following use-case: when the user first starts using the application, he inputs his username and password. Then, at a much later stage, the application may update his status. Currently I'm using Twitterizer, but I believe the question is beyond the scope of the specific library I'm using. Following...

How to deal with streaming data in PHP?

There is a family of methods (birddog, shadow, and follow)in the Twitter API that opens a (mostly) permanent connection and allows you to follow many users. I've run the sample connection code with cURL in bash, and it works nicely: when a user I specify writes a tweet, I get a stream of XML in my console. My question is: how can I acce...

Does twitter have an open ID or are these 3rd party apps just really intrusive?

Hi, Can we build applications on top of the twitter user base? Is it just another open id or something more? I noticed when using twitpic and some MUD type game 14mafia.com that it uses my twitter login (it tweets on your behalf). If they are using my login/password that's pretty crazy, I mean what kind of security is that? Anyhow, ...

Twitter status update: set source (C#)

Hello, I'm updating my user's Twitter status using the simple code below. My problem is that the Twitter updates resulting from this code are denoted as ".... ago from API". I would like to be able to control the "API" part to say a custom name. How can I do it? Preferably using an alteration to the code below... Thanks /* * A functi...

Why can't I get Twitter write access working with Net::Twitter::OAuth?

I registered an application with Twitter. I use Net::Twitter::OAuth to manage the interaction with Twitter. I managed to redirect the user to allow him to install the application in his Twitter account. The application is installed with read & write access. I have read access, but I didn't manage to send any tweet in his behalf: Twitter...

How to get all Twitter links?

There are lots of sites offering additional services to Twitter: hashtags.org tweetmeme.com repeets.com dailyrt.com backtweets.com They all have something in common: They seem to get all updates from Twitter. Otherwise, they couldn't offer such complex services with high quality results. But how do they do this? Twitter has a XMPP f...

Regex match, quite simple:

Hi, I'm looking to match Twitter syntax with a regex. How can I match anything that is "@______" that is, begins with an @ symbol, and is followed by no spaces, just letters and numbers until the end of the word? (To tweeters, I want to match someone's name in a reply) ...