twitter-api

Tweet Contest logic ( Twitter )

Disclaimer: I have no Twitter API experience nor have I used Twitter until today I've been given the task of creating a 'tweeting contest' - if anyone has Twitter API experience and/or has done this in the past, I would appreciate any useful tips that you may have. So the basic rules are that in order for a user to enter the co...

Twitter: Search my tweets and retrieve user ids, cross reference with my followers?

First off, I'm doing a contest where users must tweet a message 'just entered #cool-contest, more info at http://unique/url/239843' and I'm basically doing a search using the api: http://search.twitter.com/search.atom?q=%40twitterapi+OR+%40twitter Sample entry element: <entry> <id>tag:search.twitter.com,2005:5266369259</id> ...

Using MS Access 2000 VBA to send a Direct Message via the Twitter API

I am trying to send a direct message via the Twitter API from Access 2000 VBA. I can post a status update to my Twitter account with the following code: tUsername = "TwitterUser" tPassword = "theirpassword" tStatus = "some sample text" xml.Open "POST", "http://" & tUsername & ":" & tPassword & "@twitter.com/statuses/update.xml?s...

Post in Twitter using C# application

Hi all, I can able to post the tweet through my application using C# with twitterizer API,and the new post is posted in my twiiter site like this "New Post: This Post for twitter test about 18 hours ago from Twitterizer" in this in the bottom it is showing as "twitterizer" but i don't want to show the tool name to my users..is the...

What is the function of Twitter's verify credentials API ?

I just implemented sign in with twitter for my webapp. At the end of the OAuth 3-legged flow, I needed to retrieve the screenname & avatar pic for the user. All I had was the twitterid e.g. 3546735 So I performed a GET http://twitter.com/users/show/3546735.json No security is required for this method, although it is rate-limited. Recen...

Get follower count on Twitter API search results

What I'm trying to do is pull some search results, and sort them by users. Right now I'm using $to->OAuthRequest('http://search.twitter.com/search.json', array('q' => 'search-term'), 'GET'); to get the results, but I can't actually get information about the user like follower_count, etc. so I though I'd take each result's user_id, an...

how to update data to twitter from my phone app

I am creating a app that I want to have a button for the user to tell others on twitter about my APP and have them post it to their twitter account.. how can this be done im fairly new to iphone programming, but this will finish up my second app please help and thanks for all your advice concerning this matter. ...

Creating a constantly updating feed like Twitter

I'd like to have something in my app that is just like Twitter but not Twitter. Basically it will be a place people can submit messages and do not need an account. They only way they can submit is through the app. I want other app users to see the submitted messages nearly immediate. I believe push notification can do that sort of wo...

Get object within JSON object only by knowing its position, and not name

Hi, I'm currently looking into the Twitter-API - specifically the daily trends-API (http://search.twitter.com/trends/current.json). Example return from Twitter { trends: { 2009-11-19 14:29:16: [ { name: "#nottosayonfirstdate", query: "#nottosayonfirstdate"...

Using LINQ to XML to build a collection - only getting the top item for some reason

So I'm trying to parse some XML from the twitter API and for some reason the LINQ query below only returns 1 row. When I step through the code to view the raw XML it's the usual 20+ items so I'm not sure what I'm doing wrong here. Any help for a LINQ to XML newbie? List<TwitterStatus> StatusCollection = new List<TwitterS...

Trying to parse twitter trends

Im trying to parse twitter trends but i keep getting a parser error at "as_of". anyone know why this is happening? EDIT: Here is the code im using NSMutableArray *tweets; tweets = [[NSMutableArray alloc] init]; NSURL *url = [NSURL URLWithString:@"http://search.twitter.com/trends/current.json"]; trendsArray = [[NSMutableArray alloc] i...

What are the pros/cons of the various Twitter API libraries?

It seems there are at least five Python libraries for the Twitter API. Can those who have used them comment on your experiences? ...

Displaying topic specific tweets in Twitter

I'd like to integrate Twitter into my app but keep the tweets specific to the app topic. For example, if the app is about recipes, all tweets on the built in Twitter client will be about recipes. Basically acting like a chat client about recipes. However, I don't think Twitter works that way. You basically follow someone (say the a...

PHP Twitter API Cursor?

Hi, If i use the "cursor"=>"-1" i get pagination, at which i can read the next_cursor. I get 1.312477885269E+18 when i read next_cursor. To call again, i set the cursor as the next_cursor which was returned back from the previous call, 1.312477885269E+18 - do i send it in this format, or somehow do i have to convert this into an int? ...

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 ...

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 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...

Persistent OAuth session

Is is possible to keep a single OAuth session available across multiple users? My client wants to add their private tweets on one of their intranet pages. The tweets need to just show up without the need for their employees to authenticate with Twitter. Their employees wouldn't be able to authenticate anyways since they wouldn't know th...