Re: [twitter-dev] Direct message Ids
Good observation and reasonable assumption. However, there is a thin possibility that these are being assigned from different sub-spaces within the same address space. I am still hoping it is the case since it will simplify my DB design much. On Mon, Dec 14, 2009 at 1:17 PM, Michael Steuer mste...@gmail.com wrote: I don't know for sure but as tweet id's are sequential and the current dm id counter is way lower than the current tweet id, I would assume they're separate sets... On Dec 13, 2009, at 10:25 PM, Harshad RJ harshad...@gmail.com wrote: Hi, Are the DM ids unique within {DMs + Tweets} set or only in the {DM} set? In other words, if I am storing a collection of DMs and Tweets in a DB, can I index it safely using DM.id and Tweet.id ? thanks, -- Harshad RJ http://hrj.wikidot.comhttp://hrj.wikidot.com -- Harshad RJ http://hrj.wikidot.com
[twitter-dev] Re: WordPress implements a Twitter API root
I have four WordPress blogs but none of them are hosted on WordPress.com. I'm not sure what the use case is for the thing they just announced anyhow. On Dec 12, 7:57 pm, Chad Etzel jazzyc...@gmail.com wrote: fyi.. http://en.blog.wordpress.com/2009/12/12/twitter-api/ seems to only support xml from my limited initial testing. -chad
[twitter-dev] Re: extract all @replies for a user
/statuses/mentions only works for the currently authenticated user and not all users however. On Dec 12, 1:41 am, Michael Steuer mste...@gmail.com wrote: Check out the statuses/mentions API On Dec 11, 2009, at 3:19 PM, Baron richar...@gmail.com wrote: hello, I want to get all the @replies for a user using the API. I tried using search (http://apiwiki.twitter.com/Twitter-Search-API-Method:-search) but it only gives me access to the last 7 days of tweets. Is it possible to access all @replies for a user, or atleast more than 7 days worth? regards, Baron
[twitter-dev] Re: Retweeting via the API does not show up in other's Home Timeline
I believe this is correct that basically if a message has already appeared in your or other people's timeline, then a retweet won't appear. It'll only appear in another user's timeline if they don't follow the original tweeter On Dec 11, 9:46 pm, hansamann sven.hai...@googlemail.com wrote: Hi all, I have switched the retweeting style of my app from using the RT @user text pattern to the new retweet API. If a logged in user on groovytweets.org now hits the green retweet buttons, it will fire off a retweet via the API. Unfortunately, the retweeted messages do not show up in that user's followers Home Timeline (the people following that user should get the retweet). From an API perspective, the request (via Twitter4J) is sent off and returns normally, no error in sight. The API method used ishttp://twitter.com/statuses/retweetand the statusId of the status who should be retweeted is sent wiht the requuest. Now if I understand the new home timeline correctly, this *might* not be an issue, in the following case: - if another user already had retweeted that status, it might have shown up in the follower's home time line earlier, meaning when I look onto the time line it might not be at the top. Is that understanding correct? I think retweeted statuses who already had been retweeted and 'received' by that user will not show up at the top again. Instead, the UI of twitter.com just adds the new retweeting user to the list of retweeted by for that status. This is of course potentially down in the stream of tweets, so the user might never see it (again). Or there is a bug :-) Either on my side or with twitter. What do you think? Cheers Sven
Re: [twitter-dev] Direct message Ids
They're separate ID spaces. On Mon, Dec 14, 2009 at 12:07 AM, Harshad RJ harshad...@gmail.com wrote: Good observation and reasonable assumption. However, there is a thin possibility that these are being assigned from different sub-spaces within the same address space. I am still hoping it is the case since it will simplify my DB design much. On Mon, Dec 14, 2009 at 1:17 PM, Michael Steuer mste...@gmail.com wrote: I don't know for sure but as tweet id's are sequential and the current dm id counter is way lower than the current tweet id, I would assume they're separate sets... On Dec 13, 2009, at 10:25 PM, Harshad RJ harshad...@gmail.com wrote: Hi, Are the DM ids unique within {DMs + Tweets} set or only in the {DM} set? In other words, if I am storing a collection of DMs and Tweets in a DB, can I index it safely using DM.id and Tweet.id ? thanks, -- Harshad RJ http://hrj.wikidot.comhttp://hrj.wikidot.com -- Harshad RJ http://hrj.wikidot.com -- Raffi Krikorian Twitter Platform Team http://twitter.com/raffi
[twitter-dev] C# WebRequest not returning from iDispose when calling stream.twitter.com
With the sample function below the program never returns from iDispose WebResponse/StreamReader (TcpClient works fine): public void GetStatusesFromStream(string username, string password, int nMessageCount) { WebRequest request = WebRequest.Create(http://stream.twitter.com/ 1/statuses/sample.json); request.Credentials = new NetworkCredential(username, password); using (WebResponse response = request.GetResponse()) { using (var stream = response.GetResponseStream()) { using (var reader = new StreamReader(stream)) { while (!reader.EndOfStream) { Console.WriteLine(reader.ReadLine()); if (nMessageCount-- 0) break; } Console.WriteLine(Start iDispose); } Console.WriteLine(Never gets here!!!); } } Console.WriteLine(Done - press a key to exit); Console.ReadLine(); } I've raised the question at stackoverflow but with no solution so far... http://stackoverflow.com/questions/1883022/why-does-webresponse-never-end-when-reading-twitter-firehose-stream
[twitter-dev] Re: White Listing and Rate Limiting
Instead of using request.Credentials = new NetworkCredential(username, password); try the following (sorry it's in C#) as .NET will try an unauthenticated request first, before trying an authenticated request : byte[] encbuff = System.Text.Encoding.UTF8.GetBytes(username + : + password); String enc = Convert.ToBase64String(encbuff); request.Headers.Add(Authorization, Basic + enc); On Nov 24, 3:26 am, Michael Rutherford rutherf...@michaelsworld.net wrote: Yes, when I send the request to the server, I set the network credentials with my username and password. The same way I would any other call that requires authentication. On Tue, Nov 24, 2009 at 1:23 PM, Michael Steuer mste...@gmail.com wrote: Are you sure your checking your rate with an authenticated call? If you don't, you'd get the rate for your IP On Nov 23, 2009, at 7:02 PM, mtruth rutherf...@michaelsworld.net wrote: I whitelisted my account. My IP would change depending on where I am doing my work. On Nov 23, 10:43 pm, shiplu shiplu@gmail.com wrote: On Mon, Nov 23, 2009 at 9:41 AM,mtruthrutherf...@michaelsworld.net wrote: Hi, I'm creating an application in VB.Net, I've been white listed. Yet when I get my rate in VB.Net it shows that am I am only getting 150 request. When I check my available requests, I am using my username and password. Yet, when I run Tweetdeck, I am shown that I get my full white listed rate limit. What did you whitelist? your account or IP? -- A K M Mokaddim My talks,http://talk.cmyweb.net Follow me,http://twitter.com/shiplu SUST Programmers,http://groups.google.com/group/p2psust বাংলিশ লেখার চাইতে বাংলা লেখা অনেক ভাল
[twitter-dev] delete a tweet with twitterVB .net library API
Is there a way to delete previously posted tweets using the twitter API? I'm using the twitterVB .net library and would like to delete all tweets older than 1 week. Any help would be appreciated. Thanks.
[twitter-dev] Re: OAuth DELETE LIST problem
i think your base String should look like this: base: DELETEhttp%3A%2F%2Fstaging..com%2Fapi%2Fmodel%%2Fcontroller %2F2467oauth_consumer_key%thekey%26oauth_nonce %3D1429%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp %3D1260804448%26oauth_token%3Dtoken%26oauth_version%3D1.0 so you had to strip out _method=delete and send via POST but the basestring must start with DELETE maybe this helps Volker
[twitter-dev] profile_image_url bigger thumbnail image
In the xml returned using the API, I noticed all the profile_image_url are of the form *_normal.*{jpg,gif} Can I just replace normal with bigger and assume there will always be a bigger 73x73 version? Thanks, Quy
[twitter-dev] friendships/create method and 403 ambiguity
There are two phrases about friendships/create. 1. If you are already friends with the user an HTTP 403 will be returned. 2. This method is subject to [1]update limits. An HTTP 403 will be returned if this limit as been hit. How to differ those two status codes? [1] http://help.twitter.com/forums/10711/entries/15364 -- A K M Mokaddim My talks, http://talk.cmyweb.net Follow me, http://twitter.com/shiplu Innovation distinguishes bet ... ... (ask Steve Jobs the rest)
[twitter-dev] TTYtter 1.0.0 beta
For those of you using TTYtter as a bot or scripting platform in your applications, the TTYtter 1.0.0 beta is now available for testing. There are several significant changes in the TTYtter API, including a new multi-module system, changes to methods, and changes to recommended practices for state management. Some applications will need modification to run under 1.0.0, hence the beta to allow testing and development prior to a final release. If your application still requires 0.9.x in the interim, 0.9.10 is also available today as the stable branch, and 0.9 will be supported until a stable 1.0.0 is released. http://www.floodgap.com/software/ttytter/ http://www.floodgap.com/software/ttytter/beta/ -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- Dread each day as it comes. -- Donald Kaul -
Re: [twitter-dev] friendships/create method and 403 ambiguity
The body of the response allows you to differentiate these two codes, e.g. curl -ucredentials -XPOST -d http://twitter.com/friendships/create/atebits.xml ?xml version=1.0 encoding=UTF-8? hash request/friendships/create/atebits.xml/request errorCould not follow user: atebits is already on your list./error /hash On Mon, Dec 14, 2009 at 2:38 PM, shiplu shiplu@gmail.com wrote: There are two phrases about friendships/create. 1. If you are already friends with the user an HTTP 403 will be returned. 2. This method is subject to [1]update limits. An HTTP 403 will be returned if this limit as been hit. How to differ those two status codes? [1] http://help.twitter.com/forums/10711/entries/15364 -- A K M Mokaddim My talks, http://talk.cmyweb.net Follow me, http://twitter.com/shiplu Innovation distinguishes bet ... ... (ask Steve Jobs the rest) -- ---Mark http://twitter.com/mccv
Re: [twitter-dev] delete a tweet with twitterVB .net library API
Hrmmm, the method that says DeleteUpdate might just possibly delete updates. But that's just from glancing at the TwitterVB site for a mere 30 seconds, I could be wrong. ∞ Andy Badera ∞ +1 518-641-1280 Google Voice ∞ This email is: [ ] bloggable [x] ask first [ ] private ∞ Google me: http://www.google.com/search?q=andrew%20badera On Sun, Dec 13, 2009 at 11:09 PM, KellyP kelly.pear...@ct.gov wrote: Is there a way to delete previously posted tweets using the twitter API? I'm using the twitterVB .net library and would like to delete all tweets older than 1 week. Any help would be appreciated. Thanks.
Re: [twitter-dev] Re: White Listing and Rate Limiting
That looks like it might do the trick. I'll give it a go! Cheers! Michael On Mon, Dec 14, 2009 at 8:36 AM, martimedia duffym...@googlemail.comwrote: Instead of using request.Credentials = new NetworkCredential(username, password); try the following (sorry it's in C#) as .NET will try an unauthenticated request first, before trying an authenticated request : byte[] encbuff = System.Text.Encoding.UTF8.GetBytes(username + : + password); String enc = Convert.ToBase64String(encbuff); request.Headers.Add(Authorization, Basic + enc); On Nov 24, 3:26 am, Michael Rutherford rutherf...@michaelsworld.net wrote: Yes, when I send the request to the server, I set the network credentials with my username and password. The same way I would any other call that requires authentication. On Tue, Nov 24, 2009 at 1:23 PM, Michael Steuer mste...@gmail.com wrote: Are you sure your checking your rate with an authenticated call? If you don't, you'd get the rate for your IP On Nov 23, 2009, at 7:02 PM, mtruth rutherf...@michaelsworld.net wrote: I whitelisted my account. My IP would change depending on where I am doing my work. On Nov 23, 10:43 pm, shiplu shiplu@gmail.com wrote: On Mon, Nov 23, 2009 at 9:41 AM,mtruthrutherf...@michaelsworld.net wrote: Hi, I'm creating an application in VB.Net, I've been white listed. Yet when I get my rate in VB.Net it shows that am I am only getting 150 request. When I check my available requests, I am using my username and password. Yet, when I run Tweetdeck, I am shown that I get my full white listed rate limit. What did you whitelist? your account or IP? -- A K M Mokaddim My talks,http://talk.cmyweb.net Follow me,http://twitter.com/shiplu SUST Programmers,http://groups.google.com/group/p2psust বাংলিশ লেখার চাইতে বাংলা লেখা অনেক ভাল
[twitter-dev] Getting a timeline from a select number of friends without using list
I have an app that needs to be able to get a timeline from a select number of friends without using list. I haven't been able to find a api method that I can do this, but I might have overlooked it. Right now my solution is to just create a list of these users and read the list timeline, but I would rather skip the create the list part. Any help will be appreciated. Thanks
Re: [twitter-dev] Getting a timeline from a select number of friends without using list
You could stream them with the track resource and the follow parameter on the Streaming API. -John Kalucki http://twitter.com/jkalucki Services, Twitter Inc. On Mon, Dec 14, 2009 at 2:53 PM, joeygreen...@gmail.com joeygreen...@gmail.com wrote: I have an app that needs to be able to get a timeline from a select number of friends without using list. I haven't been able to find a api method that I can do this, but I might have overlooked it. Right now my solution is to just create a list of these users and read the list timeline, but I would rather skip the create the list part. Any help will be appreciated. Thanks
[twitter-dev] Regarding the retrieval of Tweets for a user
Hi All , Is it possible to retrieve tweets for a given user using the api. If so could anyone explain how to use the api to solve the purpose. Thanks in Advance Vijay Sai
Re: [twitter-dev] Regarding the retrieval of Tweets for a user
Is it possible to retrieve tweets for a given user using the api. If so could anyone explain how to use the api to solve the purpose. Start with statuses/user_timeline. http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses-user_timeline -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- A kindness done today is the surest way to a brighter tomorrow. -- Anonymous
[twitter-dev] Locked Out! Why?
Hi all, One of the feature of my app that I'm building at the moment is collecting details of every followers, following that a user has. So, what I'm doing is, getting id_list of followers from a user and hitting user/show to get user details of each follower. Recently when I'm doing this, I keep getting myself locked out (I use my own Twitter account to test), and when I try to log myself on Twitter via the web, I've the following error message: Locked out! We've temporarily locked your account after too many failed attempts to sign in. Please chillax for a few, then try again. Anybody know why I've got this? and how can I avoid this? Thanks very much for your help, Chris Prakoso
Re: [twitter-dev] Re: White Listing and Rate Limiting
Thanks much! That did it. The VB.Net code is as follows: Dim encbuff As Byte() = System.Text.Encoding.UTF8.GetBytes(userName + : + password) Dim enc As String = Convert.ToBase64String(encbuff) client.Headers.Add(Authorization, Basic + enc) On Mon, Dec 14, 2009 at 8:36 AM, martimedia duffym...@googlemail.comwrote: Instead of using request.Credentials = new NetworkCredential(username, password); try the following (sorry it's in C#) as .NET will try an unauthenticated request first, before trying an authenticated request : byte[] encbuff = System.Text.Encoding.UTF8.GetBytes(username + : + password); String enc = Convert.ToBase64String(encbuff); request.Headers.Add(Authorization, Basic + enc); On Nov 24, 3:26 am, Michael Rutherford rutherf...@michaelsworld.net wrote: Yes, when I send the request to the server, I set the network credentials with my username and password. The same way I would any other call that requires authentication. On Tue, Nov 24, 2009 at 1:23 PM, Michael Steuer mste...@gmail.com wrote: Are you sure your checking your rate with an authenticated call? If you don't, you'd get the rate for your IP On Nov 23, 2009, at 7:02 PM, mtruth rutherf...@michaelsworld.net wrote: I whitelisted my account. My IP would change depending on where I am doing my work. On Nov 23, 10:43 pm, shiplu shiplu@gmail.com wrote: On Mon, Nov 23, 2009 at 9:41 AM,mtruthrutherf...@michaelsworld.net wrote: Hi, I'm creating an application in VB.Net, I've been white listed. Yet when I get my rate in VB.Net it shows that am I am only getting 150 request. When I check my available requests, I am using my username and password. Yet, when I run Tweetdeck, I am shown that I get my full white listed rate limit. What did you whitelist? your account or IP? -- A K M Mokaddim My talks,http://talk.cmyweb.net Follow me,http://twitter.com/shiplu SUST Programmers,http://groups.google.com/group/p2psust বাংলিশ লেখার চাইতে বাংলা লেখা অনেক ভাল
[twitter-dev] Developer Preview: Contributor API
As you may have seen on our bloghttp://blog.twitter.com/2009/12/feature-test-with-businesses.html, we're starting a very small test of a new feature that will allow a Twitter account to have multiple contributors. This is the first in a suite of features that we'll be rolling out specifically targeted to the needs of businesses, and this particular feature is going to allow a business to invite employees and representatives to tweet, DM, follow users, etc., on behalf of the account holder. While this feature is not ready for prime-time, and while we're not yet taking requests to be part of an early-access release while we work out the kinks, we're really committed to keeping our developers in the loop. I want to give you all a heads up on what is coming on the API side, and, for this particular feature, I wanted to give you all a look at what we're calling the Contributor API. The reason I want to really highlight these changes is because we'll be making an addition to the status objects as this rolls out. We'll be introducing a new parameter called contributingto to most API endpoints -- this parameter must be set to the user ID of the user that the employee or representative wants to take the action on behalf of. If using contributingto, then the caller must authenticate when calling and must use OAuth. For example, if I, @raffi, wanted to tweet on behalf of @twitter (ID 783214), I would call /status/update.xml, I would attach a parameter of contributingto=783214, and I would authenticate to that endpoint as myself using OAuth. The API will confirm that @raffi has permission to contribute to the @twitter account, and will error with a 403 if that account does not. You can expect to see contributingto show up as an optional parameter to the following endpoints (and presumably some more) when calling on http://api.twitter.com/1: /account/rate_limit_status /account/update_profile /account/update_profile_background_image /account/update_profile_colors /account/update_profile_image /account/verify_credentials /blocks/blocking /blocks/blocking/ids /blocks/create /blocks/destroy /blocks/exists /direct_messages /direct_messages/destroy /direct_messages/new /direct_messages/sent /favorites /favorites/create /favorites/destroy /followers/ids /friends/ids /friendships/create /friendships/destroy /friendships/exists /report_spam /saved_searches /saved_searches/create /saved_searches/destroy /saved_searches/show /statuses/destroy /statuses/followers /statuses/friends /statuses/friends_timeline /statuses/home_timeline /statuses/mentions /statuses/public_timeline /statuses/retweet /statuses/retweeted_by_me /statuses/retweeted_to_me /statuses/retweets /statuses/retweets_of_me /statuses/show /statuses/update /statuses/user_timeline /users/show Lastly, the status objects will include an additional parameter named contributors that will have an user_id with the ID of the user who actually created this status object. An example XML status would have status ... contributors user_idID of the contributor/user_id /contributors ... /status and in JSON { ... contributors : [ID of the contributor], ... } Due to caching, historical status objects may or may not contain the contributors, but all status created after launch will. Like I said, more details to come! -- Raffi Krikorian Twitter Platform Team http://twitter.com/raffi
[twitter-dev] Re: delete a tweet with twitterVB .net library API
I guess I should have been more specific. I saw the DeleteUpdate method which calls for an ID parameter to be passed in, but I don't know how to get the ID of a tweet, let alone all the IDs for tweets older than 1 week. I know if you hover over a tweet in twitter you can see the ID, but how do you get at it programmatically? Sorry if this a simple thing, I'm a newbie in regards to twitter and I can't seem to find any documentation or help on how to get the ID. On Dec 14, 5:43 pm, Andrew Badera and...@badera.us wrote: Hrmmm, the method that says DeleteUpdate might just possibly delete updates. But that's just from glancing at the TwitterVB site for a mere 30 seconds, I could be wrong. ∞ Andy Badera ∞ +1 518-641-1280 Google Voice ∞ This email is: [ ] bloggable [x] ask first [ ] private ∞ Google me:http://www.google.com/search?q=andrew%20baderaOn Sun, Dec 13, 2009 at 11:09 PM, KellyP kelly.pear...@ct.gov wrote: Is there a way to delete previously posted tweets using the twitter API? I'm using the twitterVB .net library and would like to delete all tweets older than 1 week. Any help would be appreciated. Thanks.
[twitter-dev] Re: C# WebRequest not returning from iDispose when calling stream.twitter.com
Problem fixed via discussion on StackOverflow http://stackoverflow.com/questions/1883022/why-does-webresponse-never-end-when-reading-twitter-firehose-stream FYI: needed to add a response.Abort() before the break, though others reported function working without the need for the Abort() call. On Dec 13, 9:31 pm, martimedia duffym...@googlemail.com wrote: With the sample function below the program never returns from iDispose WebResponse/StreamReader (TcpClient works fine): public void GetStatusesFromStream(string username, string password, int nMessageCount) { WebRequest request = WebRequest.Create(http://stream.twitter.com/ 1/statuses/sample.json); request.Credentials = new NetworkCredential(username, password); using (WebResponse response = request.GetResponse()) { using (var stream = response.GetResponseStream()) { using (var reader = new StreamReader(stream)) { while (!reader.EndOfStream) { Console.WriteLine(reader.ReadLine()); if (nMessageCount-- 0) break; } Console.WriteLine(Start iDispose); } Console.WriteLine(Never gets here!!!); } } Console.WriteLine(Done - press a key to exit); Console.ReadLine(); } I've raised the question at stackoverflow but with no solution so far... http://stackoverflow.com/questions/1883022/why-does-webresponse-never...
[twitter-dev] Desktop App oAuth GET request with valid accesstoken returns 401 Unauthorized
I got my desktop application registered on Twitter and successfully got the PIN which I used to generate Token and Secret Key. I am generating following signature for verify_credentials: http://twitter.com/account/verify_credentials.xml?oauth_consumer_key=YvrptruncatedSAxFljgoauth_nonce=8334754oauth_signature_method=HMAC-SHA1oauth_timestamp=1260833274oauth_token=ASGgOe4Zvv7XB1YftruncatedmNyd0wse4ydEzR2Qoauth_version=1.0oauth_signature=HWtyOQ5SSJ4wARVoQI2sEy8PA5M= It always returns 401 Unaushorized error. Am I missing something. The Response Header below: Response Object Header {Status: 401 Unauthorized X-Runtime: 0.00163 Vary: Accept-Encoding Connection: close Content-Length: 419 Cache-Control: no-cache, max-age=1800 Content-Type: application/xml; charset=utf-8 Date: Mon, 14 Dec 2009 23:34:46 GMT Expires: Tue, 15 Dec 2009 00:04:46 GMT Set-Cookie: _twitter_sess=BAh7BzoHaWQiJWZhYWE0ZjgwOTY4ZDA5ZDIzMjRjOTVmY2UxMmNlOWM1Igpm %250AbGFzaElDOidBY3Rpb25Db250cm9sbGVyOjpGbGFzaDo6Rmxhc2hIYXNoewAG %250AOgpAdXNlZHsA--482b347c66dc8e1643fcf1b99a82f36aeee38f41; domain=.twitter.com; path=/ Server: hi WWW-Authenticate: Basic realm=Twitter API }
Re: [twitter-dev] Re: Regarding the search API based on Geo location
I'll be interested to hear when the API adds functionality that'll allow us to retrieve *only* tweets with a geopoint! Any hints? soon :P In the meantime; copyied from the first post, what is going on with tweets like this? : { * location: iPhone: 37.313690,-122.022911 * geo: null } { * location: ÜT: 37.293106,-121.969004 * geo: null } Presumably this is some developer-implemented work around from a client that geotagged tweets before the geotagging API was available, by setting the profile location (where it normally says London, UK etc.) to co-ords? If so, I will just ignore it, as these should in theory become less and less common as developers update their apps to use the official geotagging method, but I want to be sure that I'm not missing some crucially geotagged tweets! yeah - that's precisely what's happening. i'm not sure what the first client is, but the second is ubertwitter. instead of sending geotweets, they are simply setting the user's profile location. my hope is that people will transition soon! -- Raffi Krikorian Twitter Platform Team http://twitter.com/raffi
[twitter-dev] Re: Regarding the search API based on Geo location
Many people use UberTwitter from their phone and also tweet from the web or a desktop client. UT updates the profile location with GPS data but the browser doesn't. If the source of the tweet is UT chances are the location is accurate, otherwise it's probably old. If you desperately need to pin as many tweets on the map as possible you may want to use this information for the time being. Diego On Dec 14, 8:33 pm, redders redders6...@googlemail.com wrote: Hi Raffi, I'll be interested to hear when the API adds functionality that'll allow us to retrieve *only* tweets with a geopoint! Any hints? In the meantime; copyied from the first post, what is going on with tweets like this? : { * location: iPhone: 37.313690,-122.022911 * geo: null } { * location: ÜT: 37.293106,-121.969004 * geo: null } Presumably this is some developer-implemented work around from a client that geotagged tweets before the geotagging API was available, by setting the profile location (where it normally says London, UK etc.) to co-ords? If so, I will just ignore it, as these should in theory become less and less common as developers update their apps to use the official geotagging method, but I want to be sure that I'm not missing some crucially geotagged tweets!
[twitter-dev] Re: delete a tweet with twitterVB .net library API
Kelly, I'm the maintainer of the TwitterVB project. Thanks for trying TwitterVB! Your best bet for getting help with the TwitterVb library is to post in the TwitterVB discussion forum at the following URL: http://twittervb.codeplex.com/Thread/List.aspx To answer your question more specifically... 1. Call the UserTimeLine() method, using the TwitterParameters object to specify whose tweets you want to see and how many tweets you want to see. 2. Loop through the resulting List(Of TwitterStatus) and call the DeleteUpdate() method, massing in each Tweet ID that you wish to delete. Because the timelines do not reach back terribly far, it may not be possible to delete every ID that's older than one week. If that's what you want to accomplish, you may want to store the IDs of the tweets you post as you post them, along with the date. Then, you could just retrieve the appropriate IDs from that list. Hope this helps! --Duane On Dec 14, 7:48 pm, KellyP kelly.pear...@ct.gov wrote: I guess I should have been more specific. I saw the DeleteUpdate method which calls for an ID parameter to be passed in, but I don't know how to get the ID of a tweet, let alone all the IDs for tweets older than 1 week. I know if you hover over a tweet in twitter you can see the ID, but how do you get at it programmatically? Sorry if this a simple thing, I'm a newbie in regards to twitter and I can't seem to find any documentation or help on how to get the ID. On Dec 14, 5:43 pm, Andrew Badera and...@badera.us wrote: Hrmmm, the method that says DeleteUpdate might just possibly delete updates. But that's just from glancing at the TwitterVB site for a mere 30 seconds, I could be wrong. ∞ Andy Badera ∞ +1 518-641-1280 Google Voice ∞ This email is: [ ] bloggable [x] ask first [ ] private ∞ Google me:http://www.google.com/search?q=andrew%20baderaOnSun, Dec 13, 2009 at 11:09 PM, KellyP kelly.pear...@ct.gov wrote: Is there a way to delete previously posted tweets using the twitter API? I'm using the twitterVB .net library and would like to delete all tweets older than 1 week. Any help would be appreciated. Thanks.
[twitter-dev] A way to send user to oAuth page with no user defined?
We'd like to use oAuth to add authorize additional accounts, but it gets hairy for users when it defaults to last used username. Is there a way to send oAuth users directly to the page that appears when sign out is clicked? So that they are prompted for the username and password for the account they want to authorize? Thanks in advance!
[twitter-dev] Re: Developer Preview: Contributor API
Hi Raffi, Curious how the contributors will be associated? Will it essentially be linking accounts? Presumably then the user would identify in an app which account to post an update to based on those accounts they have been associated as contributors to? So, a contribution would originate from a separate Twitter account, let's say @Raffi and be posted to @Twitter. The primary difference from what we're used to with CoTweet for example, where you may have many authors with no individual twitter accounts, this would all be based on having two or more accounts (1 biz account linked to contributor accounts). Does that make sense? Justyn On Dec 14, 6:07 pm, Raffi Krikorian ra...@twitter.com wrote: As you may have seen on our bloghttp://blog.twitter.com/2009/12/feature-test-with-businesses.html, we're starting a very small test of a new feature that will allow a Twitter account to have multiple contributors. This is the first in a suite of features that we'll be rolling out specifically targeted to the needs of businesses, and this particular feature is going to allow a business to invite employees and representatives to tweet, DM, follow users, etc., on behalf of the account holder. While this feature is not ready for prime-time, and while we're not yet taking requests to be part of an early-access release while we work out the kinks, we're really committed to keeping our developers in the loop. I want to give you all a heads up on what is coming on the API side, and, for this particular feature, I wanted to give you all a look at what we're calling the Contributor API. The reason I want to really highlight these changes is because we'll be making an addition to the status objects as this rolls out. We'll be introducing a new parameter called contributingto to most API endpoints -- this parameter must be set to the user ID of the user that the employee or representative wants to take the action on behalf of. If using contributingto, then the caller must authenticate when calling and must use OAuth. For example, if I, @raffi, wanted to tweet on behalf of @twitter (ID 783214), I would call /status/update.xml, I would attach a parameter of contributingto=783214, and I would authenticate to that endpoint as myself using OAuth. The API will confirm that @raffi has permission to contribute to the @twitter account, and will error with a 403 if that account does not. You can expect to see contributingto show up as an optional parameter to the following endpoints (and presumably some more) when calling onhttp://api.twitter.com/1: /account/rate_limit_status /account/update_profile /account/update_profile_background_image /account/update_profile_colors /account/update_profile_image /account/verify_credentials /blocks/blocking /blocks/blocking/ids /blocks/create /blocks/destroy /blocks/exists /direct_messages /direct_messages/destroy /direct_messages/new /direct_messages/sent /favorites /favorites/create /favorites/destroy /followers/ids /friends/ids /friendships/create /friendships/destroy /friendships/exists /report_spam /saved_searches /saved_searches/create /saved_searches/destroy /saved_searches/show /statuses/destroy /statuses/followers /statuses/friends /statuses/friends_timeline /statuses/home_timeline /statuses/mentions /statuses/public_timeline /statuses/retweet /statuses/retweeted_by_me /statuses/retweeted_to_me /statuses/retweets /statuses/retweets_of_me /statuses/show /statuses/update /statuses/user_timeline /users/show Lastly, the status objects will include an additional parameter named contributors that will have an user_id with the ID of the user who actually created this status object. An example XML status would have status ... contributors user_idID of the contributor/user_id /contributors ... /status and in JSON { ... contributors : [ID of the contributor], ... } Due to caching, historical status objects may or may not contain the contributors, but all status created after launch will. Like I said, more details to come! -- Raffi Krikorian Twitter Platform Teamhttp://twitter.com/raffi
Re: [twitter-dev] Re: Developer Preview: Contributor API
I'm curious about rate limiting and what impact this has. Which account gets rate limited basically. Zac Bowling On Mon, Dec 14, 2009 at 8:33 PM, Justyn justyn.how...@gmail.com wrote: Hi Raffi, Curious how the contributors will be associated? Will it essentially be linking accounts? Presumably then the user would identify in an app which account to post an update to based on those accounts they have been associated as contributors to? So, a contribution would originate from a separate Twitter account, let's say @Raffi and be posted to @Twitter. The primary difference from what we're used to with CoTweet for example, where you may have many authors with no individual twitter accounts, this would all be based on having two or more accounts (1 biz account linked to contributor accounts). Does that make sense? Justyn On Dec 14, 6:07 pm, Raffi Krikorian ra...@twitter.com wrote: As you may have seen on our bloghttp://blog.twitter.com/2009/12/feature-test-with-businesses.html, we're starting a very small test of a new feature that will allow a Twitter account to have multiple contributors. This is the first in a suite of features that we'll be rolling out specifically targeted to the needs of businesses, and this particular feature is going to allow a business to invite employees and representatives to tweet, DM, follow users, etc., on behalf of the account holder. While this feature is not ready for prime-time, and while we're not yet taking requests to be part of an early-access release while we work out the kinks, we're really committed to keeping our developers in the loop. I want to give you all a heads up on what is coming on the API side, and, for this particular feature, I wanted to give you all a look at what we're calling the Contributor API. The reason I want to really highlight these changes is because we'll be making an addition to the status objects as this rolls out. We'll be introducing a new parameter called contributingto to most API endpoints -- this parameter must be set to the user ID of the user that the employee or representative wants to take the action on behalf of. If using contributingto, then the caller must authenticate when calling and must use OAuth. For example, if I, @raffi, wanted to tweet on behalf of @twitter (ID 783214), I would call /status/update.xml, I would attach a parameter of contributingto=783214, and I would authenticate to that endpoint as myself using OAuth. The API will confirm that @raffi has permission to contribute to the @twitter account, and will error with a 403 if that account does not. You can expect to see contributingto show up as an optional parameter to the following endpoints (and presumably some more) when calling onhttp:// api.twitter.com/1: /account/rate_limit_status /account/update_profile /account/update_profile_background_image /account/update_profile_colors /account/update_profile_image /account/verify_credentials /blocks/blocking /blocks/blocking/ids /blocks/create /blocks/destroy /blocks/exists /direct_messages /direct_messages/destroy /direct_messages/new /direct_messages/sent /favorites /favorites/create /favorites/destroy /followers/ids /friends/ids /friendships/create /friendships/destroy /friendships/exists /report_spam /saved_searches /saved_searches/create /saved_searches/destroy /saved_searches/show /statuses/destroy /statuses/followers /statuses/friends /statuses/friends_timeline /statuses/home_timeline /statuses/mentions /statuses/public_timeline /statuses/retweet /statuses/retweeted_by_me /statuses/retweeted_to_me /statuses/retweets /statuses/retweets_of_me /statuses/show /statuses/update /statuses/user_timeline /users/show Lastly, the status objects will include an additional parameter named contributors that will have an user_id with the ID of the user who actually created this status object. An example XML status would have status ... contributors user_idID of the contributor/user_id /contributors ... /status and in JSON { ... contributors : [ID of the contributor], ... } Due to caching, historical status objects may or may not contain the contributors, but all status created after launch will. Like I said, more details to come! -- Raffi Krikorian Twitter Platform Teamhttp://twitter.com/raffi
[twitter-dev] Questions about opening the firehose
Last week at Le Web, Twitter's Platform Director, Ryan Sarver, announced that Twitter will be opening the firehose to all developers. As I recall, there were a number of reasons why Twitter kept the firehose restricted. Some of these were legal reasons. I'm starting to put together an action plan for 2010, and I'm really curious - what has changed legally since then that would allow Twitter to open the firehose to all developers? What legal agreements / licenses / contracts must a developer commit to in order to gain access to the firehose? -- M. Edward (Ed) Borasky http://borasky-research.net I've always regarded nature as the clothing of God. ~Alan Hovhaness
Re: [twitter-dev] Re: Developer Preview: Contributor API
hi zac. we have not yet rectified this, but, as it currently stands, the contributor (in the case of my example, @raffi) gets the deduction from his or her rate limit. to try to anticipate your next question, the account holder (@twitter) only has a set number of people he or she can invite to contribute on behalf of them. that number is not huge. On Mon, Dec 14, 2009 at 8:39 PM, Zac Bowling zbowl...@gmail.com wrote: I'm curious about rate limiting and what impact this has. Which account gets rate limited basically. Zac Bowling On Mon, Dec 14, 2009 at 8:33 PM, Justyn justyn.how...@gmail.com wrote: Hi Raffi, Curious how the contributors will be associated? Will it essentially be linking accounts? Presumably then the user would identify in an app which account to post an update to based on those accounts they have been associated as contributors to? So, a contribution would originate from a separate Twitter account, let's say @Raffi and be posted to @Twitter. The primary difference from what we're used to with CoTweet for example, where you may have many authors with no individual twitter accounts, this would all be based on having two or more accounts (1 biz account linked to contributor accounts). Does that make sense? Justyn On Dec 14, 6:07 pm, Raffi Krikorian ra...@twitter.com wrote: As you may have seen on our bloghttp://blog.twitter.com/2009/12/feature-test-with-businesses.html , we're starting a very small test of a new feature that will allow a Twitter account to have multiple contributors. This is the first in a suite of features that we'll be rolling out specifically targeted to the needs of businesses, and this particular feature is going to allow a business to invite employees and representatives to tweet, DM, follow users, etc., on behalf of the account holder. While this feature is not ready for prime-time, and while we're not yet taking requests to be part of an early-access release while we work out the kinks, we're really committed to keeping our developers in the loop. I want to give you all a heads up on what is coming on the API side, and, for this particular feature, I wanted to give you all a look at what we're calling the Contributor API. The reason I want to really highlight these changes is because we'll be making an addition to the status objects as this rolls out. We'll be introducing a new parameter called contributingto to most API endpoints -- this parameter must be set to the user ID of the user that the employee or representative wants to take the action on behalf of. If using contributingto, then the caller must authenticate when calling and must use OAuth. For example, if I, @raffi, wanted to tweet on behalf of @twitter (ID 783214), I would call /status/update.xml, I would attach a parameter of contributingto=783214, and I would authenticate to that endpoint as myself using OAuth. The API will confirm that @raffi has permission to contribute to the @twitter account, and will error with a 403 if that account does not. You can expect to see contributingto show up as an optional parameter to the following endpoints (and presumably some more) when calling onhttp:// api.twitter.com/1: /account/rate_limit_status /account/update_profile /account/update_profile_background_image /account/update_profile_colors /account/update_profile_image /account/verify_credentials /blocks/blocking /blocks/blocking/ids /blocks/create /blocks/destroy /blocks/exists /direct_messages /direct_messages/destroy /direct_messages/new /direct_messages/sent /favorites /favorites/create /favorites/destroy /followers/ids /friends/ids /friendships/create /friendships/destroy /friendships/exists /report_spam /saved_searches /saved_searches/create /saved_searches/destroy /saved_searches/show /statuses/destroy /statuses/followers /statuses/friends /statuses/friends_timeline /statuses/home_timeline /statuses/mentions /statuses/public_timeline /statuses/retweet /statuses/retweeted_by_me /statuses/retweeted_to_me /statuses/retweets /statuses/retweets_of_me /statuses/show /statuses/update /statuses/user_timeline /users/show Lastly, the status objects will include an additional parameter named contributors that will have an user_id with the ID of the user who actually created this status object. An example XML status would have status ... contributors user_idID of the contributor/user_id /contributors ... /status and in JSON { ... contributors : [ID of the contributor], ... } Due to caching, historical status objects may or may not contain the contributors, but all status created after launch will. Like I said, more details to come! -- Raffi Krikorian Twitter Platform Teamhttp://twitter.com/raffi -- Raffi Krikorian Twitter Platform
[twitter-dev] Re: Developer Preview: Contributor API
That's exactly what I was wondering, helps for planning. Thanks Raffi! On Dec 14, 11:14 pm, Raffi Krikorian ra...@twitter.com wrote: what we have not yet exposed is the invitation or linking step - but, you are mostly correct. to carry on with my example, @twitter would invite @raffi to contribute on its behalf. now @raffi, has the ability to call API endpoints with contributingto=783214. �...@raffi and @twitter are both twitter accounts, but @twitter has enabled itself for contributors to access it. does that help? On Mon, Dec 14, 2009 at 8:33 PM, Justyn justyn.how...@gmail.com wrote: Hi Raffi, Curious how the contributors will be associated? Will it essentially be linking accounts? Presumably then the user would identify in an app which account to post an update to based on those accounts they have been associated as contributors to? So, a contribution would originate from a separate Twitter account, let's say @Raffi and be posted to @Twitter. The primary difference from what we're used to with CoTweet for example, where you may have many authors with no individual twitter accounts, this would all be based on having two or more accounts (1 biz account linked to contributor accounts). Does that make sense? Justyn On Dec 14, 6:07 pm, Raffi Krikorian ra...@twitter.com wrote: As you may have seen on our bloghttp://blog.twitter.com/2009/12/feature-test-with-businesses.html, we're starting a very small test of a new feature that will allow a Twitter account to have multiple contributors. This is the first in a suite of features that we'll be rolling out specifically targeted to the needs of businesses, and this particular feature is going to allow a business to invite employees and representatives to tweet, DM, follow users, etc., on behalf of the account holder. While this feature is not ready for prime-time, and while we're not yet taking requests to be part of an early-access release while we work out the kinks, we're really committed to keeping our developers in the loop. I want to give you all a heads up on what is coming on the API side, and, for this particular feature, I wanted to give you all a look at what we're calling the Contributor API. The reason I want to really highlight these changes is because we'll be making an addition to the status objects as this rolls out. We'll be introducing a new parameter called contributingto to most API endpoints -- this parameter must be set to the user ID of the user that the employee or representative wants to take the action on behalf of. If using contributingto, then the caller must authenticate when calling and must use OAuth. For example, if I, @raffi, wanted to tweet on behalf of @twitter (ID 783214), I would call /status/update.xml, I would attach a parameter of contributingto=783214, and I would authenticate to that endpoint as myself using OAuth. The API will confirm that @raffi has permission to contribute to the @twitter account, and will error with a 403 if that account does not. You can expect to see contributingto show up as an optional parameter to the following endpoints (and presumably some more) when calling onhttp:// api.twitter.com/1: /account/rate_limit_status /account/update_profile /account/update_profile_background_image /account/update_profile_colors /account/update_profile_image /account/verify_credentials /blocks/blocking /blocks/blocking/ids /blocks/create /blocks/destroy /blocks/exists /direct_messages /direct_messages/destroy /direct_messages/new /direct_messages/sent /favorites /favorites/create /favorites/destroy /followers/ids /friends/ids /friendships/create /friendships/destroy /friendships/exists /report_spam /saved_searches /saved_searches/create /saved_searches/destroy /saved_searches/show /statuses/destroy /statuses/followers /statuses/friends /statuses/friends_timeline /statuses/home_timeline /statuses/mentions /statuses/public_timeline /statuses/retweet /statuses/retweeted_by_me /statuses/retweeted_to_me /statuses/retweets /statuses/retweets_of_me /statuses/show /statuses/update /statuses/user_timeline /users/show Lastly, the status objects will include an additional parameter named contributors that will have an user_id with the ID of the user who actually created this status object. An example XML status would have status ... contributors user_idID of the contributor/user_id /contributors ... /status and in JSON { ... contributors : [ID of the contributor], ... } Due to caching, historical status objects may or may not contain the contributors, but all status created after launch will. Like I said, more details to come! -- Raffi
Re: [twitter-dev] Questions about opening the firehose
There will be further announcements about Streaming API access early next year. -John Kalucki http://twitter.com/jkalucki Services, Twitter Inc. On Mon, Dec 14, 2009 at 9:09 PM, M. Edward (Ed) Borasky zzn...@gmail.comwrote: Last week at Le Web, Twitter's Platform Director, Ryan Sarver, announced that Twitter will be opening the firehose to all developers. As I recall, there were a number of reasons why Twitter kept the firehose restricted. Some of these were legal reasons. I'm starting to put together an action plan for 2010, and I'm really curious - what has changed legally since then that would allow Twitter to open the firehose to all developers? What legal agreements / licenses / contracts must a developer commit to in order to gain access to the firehose? -- M. Edward (Ed) Borasky http://borasky-research.net I've always regarded nature as the clothing of God. ~Alan Hovhaness
[twitter-dev] Re: Questions about opening the firehose
Thanks!! At this point, I'm not sure I'll be using the firehose even if it is available -I don't think I can afford the pipe width to consume it. ;-) On Dec 14, 9:59 pm, John Kalucki j...@twitter.com wrote: There will be further announcements about Streaming API access early next year. -John Kaluckihttp://twitter.com/jkalucki Services, Twitter Inc. On Mon, Dec 14, 2009 at 9:09 PM, M. Edward (Ed) Borasky zzn...@gmail.comwrote: Last week at Le Web, Twitter's Platform Director, Ryan Sarver, announced that Twitter will be opening the firehose to all developers. As I recall, there were a number of reasons why Twitter kept the firehose restricted. Some of these were legal reasons. I'm starting to put together an action plan for 2010, and I'm really curious - what has changed legally since then that would allow Twitter to open the firehose to all developers? What legal agreements / licenses / contracts must a developer commit to in order to gain access to the firehose? -- M. Edward (Ed) Borasky http://borasky-research.net I've always regarded nature as the clothing of God. ~Alan Hovhaness