twitter

How should we be obtaining user permission for our server to post tweets to Twitter, using OAuth, from the iPhone?

Hello, For an iPhone app, I'm working on a feature that allows users to make automated tweets which are posted by a server (if they'd like to allow it). I've chosen to use OAuth for Twitter authentication. I've successfully gotten permission using OAuth for the app itself to post directly, and I can easily see how I could have users...

Help designing database for a twitter web application

Hello. I'm trying to create a small website in ASP.NET MVC that uses twitter. I want to be able to pull some information about twitter users and store it in a database, which I will update periodically. I am using the following tables: Users user_id - uses the twitter id (int) twitter_name - nvarchar(255) last_updated - datetime Tw...

How can I find tutorials for building an application that gets updates from an online website?

I want to build an application that gets updates from online websites like Twitter or Facebook. Currently, I haven't even got a clue on how to do this. Also, in certain applications, like Doodle Jump, I have seen updates that pop up. Some other applications have a news section that gets updated often. How is it done? Any tutorial or wo...

Twitter OAuth via a popup

I was wondering how to do twitter OAuth via a popup, i.e. load up the Oauth page in a popup and make the callback close the child window and reload the parent window. Edit: OK iframes are bad, but how would you accomplish the above, I notice posterous.com does this - I'm looking to achieve the same flow as FB connect. ...

Find Users based on Twitter Friends

I have an app where I pull in tweets with a certain hash tag. When I find the hash tag the app automatically creates a user if they don't exist. When the user logs in via Twitter, I want be able to present them with their friends which are also using the app. The problem is for Twitter users with a ton of friends there is a max response ...

drupal twitter service link

i'm using service link module and tries to add twitter link as below if (variable_get('service_links_show_twitter', 0)) { $turl = drupal_http_request('http://tinyurl.com/api-create.php?url='. $url); $turl = isset($turl->data) ? $turl->data : urldecode($url) ; $links['service_links_twitter'] = theme('service_links_build_link', t('Twitte...

Why does WebResponse never end when reading twitter firehose stream?

The following function will pull down first X messages from Twitter firehose, but looks like WebResponse blocks and never exits the function: public void GetStatusesFromStream(string username, string password, int nMessageCount) { WebRequest request = WebRequest.Create("http://stream.twitter.com/1/statuses/sample.json"); request...

twitter api returning xml on one server, empty string on another

I have a php Twitter app which lets you mark tweets as favorite. I'm doing something like this: $fav = $twitter->createFavorite("xml", $get_id);//handles api call (using curl) $fav_result = new SimpleXMLElement($fav); On my localhost and on one online server all goes well: the tweet is marked as favorite, and the api call returns xml...

Twitter/Facebook API for Ruby.

I want to write a Ruby application through which: I can submit tweets to twitter. I can submit a post to facebook. I can manage real-time stats of tweets Is there any twitter/facebook api for Ruby? ...

Parsing Twitter feeds in C

I'm trying to figure out how to get the most recent latitude and longitude of a Twitter user (from the new Geo API data, ie the <geo:point> tag, you can see how they look like on my twitter user timeline xml feed). I also need to retrieve how old that data is (in seconds) from the <created_at> tag. I'm trying to write this in C to use w...

Twitter Oauth question

I've read through documentation where possible but unable to figure out this basic question. When using Oauth with Twitter in my web application, does it require the user to be logged into Twitter everytime? For example, if a user authorises their account with my website, in future sessions, if they complete an action that posts to thei...

Twitter Search Results - API / Atom Feed

So I've got somewhat of a cool task and I'm just thinking it over. I'm more a designer so I thought I'd tap into the bright minds on here. I am creating a basic page that displays the results from a twitter search results page. Put simply, I am displaying an atom feed with HTML. I'd like to do it with PHP, unless someone has something b...

Twitter URL encoding

Hi, We're about to launch a little twitter Christmas competition, and I've run into a little snag. To enter, people will need to post a tweet in the following format: @user blah, blah, blah #hashtag Currently, I have a form where they enter their answer (the blah, blah, blah) and a PHP script which encodes the entire statement and a...

Trying to get facebook/twitter/myspace statuses and other data for statistics

hi I was wondering if anyone knows how to gather data from millions of people around the globe via these social networks in order to get the statistics. I need this for a project I'm trying to do and do not need to know the actual person posting such information (such as statuses, comments, information about them, etc) so as not to brea...

Twitter List Membership Count Per User

The Twitter API has the friends_count and followers_count available as cached values for the users/show or account/verify_credentials method. As far as I can tell, the only way to determine the number of lists a user is a member of is to make a call to GET list memberships and paginate through using the cursor to count the total number ...

Ruby twitter example - Client must provide a 'status' - Content-Type issue

Got the following error when using Ruby irb to test simple twitter status update ... #<Net::HTTPForbidden:0x2ca15dc> <?xml version="1.0" encoding="UTF-8"?> <hash> <request>/statuses/update.xml</request> <error>Client must provide a 'status' parameter with a value.</error> </hash> Code used was: twitHeaders = { "Content-Type"=>"...

How to receive updates to the Twitter social graph?

Hi, I just got some crazy ideas for analyzing the Twitter social graph (i.e., representing follow-relations as the edges of a graph). Interestingly, the Twitter API provides methods for creating the graph. It is possible to read out a static snapshot of the social graph, whereas Twitter is a very dynamic network. It would be great if one...

Chrome User Script Checking for new Tweets

Hey guys, so I have a tab for twitter.com open all the time in Chrome and I've written a userscript that checks the document title every so often for new tweets. Since the Twitter web interface automatically checks, it will show (2) Twitter / Home as the title if there are two new tweets. Everything works as I want it to, and right now I...

Twitter profile image upload in objective-c

I want to upload an image to my twitter profile using objective-c. I saw in the twitter API that I need to send a HTML post to http://twitter.com/account/update_profile_image.format and send the picture as a parameter. I am done with the authentication. I am stuck with the uploading. Maybe somebody can help me with sending the picture a...

PHP-Twitter and Issues with showStatus()

Hi everyone, I'm using php-twitter (Billingham et al) to fiddle with the Twitter API and came up against a wall in terms of using the showStatus function. Most of the time it wasn't showing any status and, when it did, it showed the wrong statues. After much banging of the head against the wall, I discovered that my problem was that t...