[twitter-dev] Getting error The remote name could not be resolved: 'api.twitter.com' while twitting data from my website
Hi. I am using Twitterizer Aouth API. Below is the code which I am using to connect to twitter from my website. stringconsumerKey = ConfigurationManager.AppSettings[consumerKey]; string consumerSecret = ConfigurationManager.AppSettings[consumerSecret]; if (System.Web.HttpContext.Current.Request.QueryString[oauth_token] == null) { RequestToken = OAuthUtility.GetRequestToken(consumerKey, consumerSecret, _currentURL); System.Web.HttpContext.Current.Response.Write(script language=\javascript\ type=\text/javascript\window.open('http://twitter.com/oauth/authorize?oauth_token=+ RequestToken.Token + ','_new','height=500,width=850,status=yes,resizable=yes');window.location.href=window.location.href;/script ); } Some times I get The remote name could not be resolved: 'api.twitter.com' exception when my website tries to connect to twitter using above code. Can some one please help me in this? Thanks, Richard -- Have you visited the Developer Discussions feature on https://dev.twitter.com/discussions yet? Twitter developer links: Documentation and resources: https://dev.twitter.com/docs API updates via Twitter: https://twitter.com/twitterapi Unsubscribe or change your group membership settings: http://groups.google.com/group/twitter-development-talk/subscribe
Re: [twitter-dev] inconsistent data when fetching the stream using location boxes
thanks matt I didn't think of verifying the source straight from the json api, you're perfectly right, this is super helpful. and it appears that twitter4j has some funny behaviour, as I'm reading the geo location directly from the API when I receive an onStatus notification, hence something like status.geoLocation() I will need to dig in the code to understand what's happening, I'll come back to you as soon as I have answers many thanks again, have a good day thomas -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] inconsistent data when fetching the stream using location boxes
hey man, thanks for this reply! yup, of corse I can. so, I am using twitter4j and reading the stream with the streaming API implementation (loosely following the code snippet below). I have setup a filter query with a list of location boxes, being the following 3 (barcelona, manchester, london): - [barcelona] 1.48, 41.10, 2.34, 41.4, - [london] -0.30, 51.10, 0.21, 51.45, - [manchester] -2.18, 53.25, -2.09, 53.31 then retrieving the status' location through the Status.getGeoLocation() function (http://twitter4j.org/en/javadoc/twitter4j/Status.html#getGeoLocation%28%29) now, it happen (quite frequently, but I don't have a statistic... say 1 post out of 50) that I find the geo location being with coordinates out of the boxes, such as: 37.1289787 -84.0832596 (tweet id: 83428963950669824 - reverse geocode using google maps: london, kentucky) 10.103 -64.669 (tweet id: 83428616981061633 - reverse geocode using google maps: barcelona, venezuela) so I am wondering how it can happen, provided that I am giving numerical coordinates for location boxes... hope this is clearer, many thanks thomas fetch stream: StatusListener listener = new StatusListener(){ public void onStatus(Status status) { // get geoLocation and save to db } }; TwitterStream twitterStream = new TwitterStreamFactory(listener).getInstance(); twitterStream.filter( myFilterQuery ); -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] inconsistent data when fetching the stream using location boxes
hi all I am developing a data mining application for telecom italia (the biggest tlc company in italy) and we're still refining the algorithms using a spritzer account. in order to maximize the streams around a few interesting locations (uk, spain, france, italy), our setup is using location boxes, as detailed here: http://dev.twitter.com/pages/streaming_api_methods#locations but something weird happens: we are receiving status updates out of the specified location boxes (fair enough...) from places that have the same names as others inside our location boxes. e.g. our box coordinates focused on UK obviously do not include US, but we are receiving tweets from 37.1289787 -84.0832596 (namely: london, KY) is there some reverse geo-coding going on? many thanks thomas -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Limit to total direct messages able to be sent?
I had this app that would use c# and twitterizer to merrily send a user direct messages, it has since ceased to do so (it still can use twitpic which will send status updates all good but direct messages no more. It will receive direct messages and purge them just won't send them out. I used the web site interface of the account my app uses and tried to send a direct message and I get an error box there: Sorry! We did something wrong. Try sending your message again in a minute. Though from main timeline a d username myMessage works but still doesn't get through to receiver and they both are following each other. Is there some limit to direct Messages stored for a user and when they reach that limit they cannot send anymore? -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] TweetDeck technical problem
Hi Patrick, You may find the answer here: http://support.tweetdeck.com/entries/181425-how-do-i-install-air-tweetdeck-in-linux-ubuntu-variants. If not, I suggest asking @desktopdeck to see if they can help. Best, Tom On Sun, May 29, 2011 at 2:37 AM, Patrick Kennedy kenned...@gmail.comwrote: This is not strictly a dev question, but I was hoping others here may be able to suggest or redirect. I have recently started using Bodhi Linux, but I have not been able to get TweetDeck to work on it. Bodhi is based on the Ubuntu distro, but it's a minimalist version, and the user must use apt-get to pull down other software and components. TweetDeck works great on Ubuntu, but I have yet to make it work on Bodhi. I can install AIR and TweetDeck, but when launching TweetDeck the first time, it says: Oops, TweetDeck can't find your data TweetDeck is having trouble using some of your passwords that are stored securely on your machine. Clicking Submit will clear this data so that you continue to use TweetDeck. Please note that you will have to add your accounts to TweetDeck again. OK There is no submit button, per se, but clicking the OK button leads to second dialog box that says: Sorry, Adobe AIR has a problem running on this computer TweetDeck is having trouble storing your passwords securely. Please check the article at http://kb2.adobe.com/cps/492/cpsid_49267.html for information on what may be wrong and how to fix it. OK Clicking OK will only redisplay this second message repeatedly. Clicking the close control button will close the dialog, but it is impossible to subsequently add a user account. I plan to try to contact Adobe, but perhaps someone here may know the issue or can provide a solid reference for help. The question is what component needs to be installed to store passwords on Linux with Gnome? Kwallet is not the ticket (KDE). The gnome keyring service is running, but there appears to be a subsystem missing for the password storage for Gnome Desktop apps. Any ideas? -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Re: API requests redirect my server to /suspended
Hey Arnaud, Thank you a lot for your help, I was missing something. Thomas Feron. On 2 mai, 05:41, Arnaud Meunier arn...@twitter.com wrote: Hey Thomas, /statuses is not a valid API endpoint, and our routing system assumes you're trying to reach the statuses account, which is suspended (cfhttp://twitter.com/statuses). Take a look on our timeline resources onhttp://dev.twitter.com/docand use one of these endpoints (for example /1/statuses/public_timeline.json) instead. Arnaud / @rno http://twitter.com/rno On Sun, May 1, 2011 at 7:23 AM, Thomas Feron tho.fe...@gmail.com wrote: Hello, My application currently gets an access token and save it to a database for each member of my website. I checked the access tokens saved for my account and the ones in Your Apps MyApp My Access Token and they are correct. My account is not suspended and there is nothing on my application's page which says that it is suspended neither. I don't understand why I am redirected to /suspended when I request a page like /statuses while both of my account and my app are accepted. Is there anybody who can explain my problem ? I'm developing in Ruby using the OAuth gem. I do something like : OAuth::AccessToken.new(MyApp::Application.twitter_consumer, db_token, db_token_secret).get('/statuses') with the MyApp::Application.twitter_consumer method returning : OAuth::Consumer.new(consumer_key, consumer_secret, { :site = 'https:// api.twitter.com' }) Thank you, -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] API requests redirect my server to /suspended
Hello, My application currently gets an access token and save it to a database for each member of my website. I checked the access tokens saved for my account and the ones in Your Apps MyApp My Access Token and they are correct. My account is not suspended and there is nothing on my application's page which says that it is suspended neither. I don't understand why I am redirected to /suspended when I request a page like /statuses while both of my account and my app are accepted. Is there anybody who can explain my problem ? I'm developing in Ruby using the OAuth gem. I do something like : OAuth::AccessToken.new(MyApp::Application.twitter_consumer, db_token, db_token_secret).get('/statuses') with the MyApp::Application.twitter_consumer method returning : OAuth::Consumer.new(consumer_key, consumer_secret, { :site = 'https:// api.twitter.com' }) Thank you, -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Sitebucket: Python based, threaded Site Stream monitor
Hi everyone, I've been working on a Python based, threaded site stream monitor that follows the requirements defined at http://dev.twitter.com/pages/site_streams. It's called Sitebucket and it's available on Github: https://github.com/thomasw/sitebucket If you have beta access to the site streams endpoint, you should check it out. I think you'll like it. I've been using Sitebucket in combination with some asynchronous processing magic in production for http://hootcourse.com going on about two months now. It's been working out really well, so I figured it was finally time to share. You can find Sitebucket's full documentation here: http://thomasw.github.com/sitebucket/ Admittedly, she still needs a bit of work. There's a high level to do list at http://thomasw.github.com/sitebucket/todo.html if anyone wants to dive in and help out! If you find any problems or have requests, please submit a ticket https://github.com/thomasw/sitebucket/issues. Thanks, Thomas -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] twurl block is sending 502 even when it succeeds
Hi Matt, We've been seeing this for a while - the block and report spam calls always return 502s (with a full page of HTML), even though they actually succeed. This doesn't seem to be tied into the stability of the rest of the API. This is happening across all of our clients, including those that use .xml and .json resources. Any chance that you could have a look into this? I can provide you with more information if required, Best, Tom On Tue, Jan 4, 2011 at 7:00 PM, Matt Harris thematthar...@twitter.comwrote: Hi TjL, The API can occasionally return a Twitter Over Capacity error when the site is experiencing a lot traffic. If this happens waiting a little white and trying the request again will work. I notice you are using a variable for the screen_name. Is this being set correctly in your environment? Best @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Thu, Dec 30, 2010 at 2:34 PM, TJ Luoma luo...@gmail.com wrote: I am trying to block users on the command line like this: twurl -t -d screen_name=$1 /1/blocks/create.xml I am consistently getting - HTTP/1.1 502 Bad Gateway\r\n as a response to this (Twitter Over Capacity) even when it works (verified via API and via website) Is this why so few 3rd party apps can successfully block? Because the API gives bad information? I've had to follow every blocks/create with a blocks/exists to see if it really worked or not. TjL -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] users/lookup returns duplicates, missing records for valid users
When using users/lookup with 100 random screen_names, I often get duplicate records, as well as missing records for valid users that are not deleted, suspended, or non-existent. Ive tested this with python-twitter as well as twurl. The responses I receive are non-deterministic; different users are omitted each time. Roughly 10% of all the users I request are omitted, this from a sample of 10,000 requests to users/lookup over distinct groups of 100 users. *Sample query with 100 random users (grabbed from public timeline): * twurl /1/users/lookup.json?screen_name= _cameraobscura,aboutmoneytips,aliceee_tw ,alltinomit,allysonfly,andy_marin,annadobak,aquarenasw,ardysmc,asd_tscmom,asyaetc,ayranlc,azianperc,bagelcc,bernah515, betinhots ,bichhu_10,billexd,bodyplus1,bruno_ral,buckley_l,buena_san,bunchukav,bunga_csv,c_loste,cansuneverson,canyalady,carolinefassl,ceedeezy,cernoblog,chairs4church,chakal_guitar,choice355,clubbanga,congelob,cr8cornucopia,crcon1863,creceitas,ctrl_news,cynsaurus,dancewithlola,danielbegun, demandplanner ,dennisboutkan,deyavoltolini,dharple,domeque,dptodecompras,era_donations,expertwitless,famousgang_31,folhadocariri,freebitchin,heywoodxjablomi,hifos, ihavetrunutz ,ikuke7,imar87,inmagv,jamilaelhasni,jplmoreira,jzyblu,katsunumaren767,kittoariobasara,kokohorewasshoi,laayanrc,ladylooc,lailavogelezang,mamibluemovie,manuzunino,marcelstuij,marco_paredes,mariel1820,marilimabio,misterplan,nslupski,pastormic,porterpet,rhizis,sabesa1,sai0531,scoopervin22,scwauters,sergio_ee,sethrynstorm,severoski,shaunatpayne,shikshin_ira,shima_online,shinnosukepass,sjsnsdaddict,smithsupport,ssa_prentiss,stayfrostyse,suellany_hta,sugarpop_bdg,taisinhamartins,tamayamasachiko,xsievert,yaragharib *Records I received a response for (after lowering, sorting):* _cameraobscura, aboutmoneytips, alltinomit, allysonfly, andy_marin, annadobak, aquarenasw, ardysmc, asd_tscmom, asyaetc, ayranlc, azianperc, bagelcc, bernah515, bichhu_10, billexd, bodyplus1, bruno_ral, buckley_l, buena_san, bunchukav, bunga_csv, c_loste, cansuneverson, canyalady, carolinefassl, ceedeezy, cernoblog, chairs4church, chakal_guitar, choice355, clubbanga, congelob, cr8cornucopia, crcon1863, creceitas, ctrl_news, cynsaurus, dancewithlola, danielbegun, dennisboutkan, deyavoltolini, dharple, domeque, dptodecompras, era_donations, expertwitless, famousgang_31, folhadocariri, freebitchin, heywoodxjablomi, hifos, ikuke7, imar87, inmagv, jamilaelhasni, jplmoreira, jzyblu, katsunumaren767, kittoariobasara, kokohorewasshoi, laayanrc, ladylooc, lailavogelezang, mamibluemovie, manuzunino, manuzunino, marcelstuij, marco_paredes, mariel1820, marilimabio, marilimabio, misterplan, nslupski, pastormic, porterpet, rhizis, sabesa1, sai0531, sai0531, scoopervin22, scwauters, sergio_ee, sethrynstorm, severoski, shaunatpayne, shikshin_ira, shima_online, shinnosukepass, sjsnsdaddict, smithsupport, ssa_prentiss, stayfrostyse, suellany_hta, sugarpop_bdg, taisinhamartins, tamayamasachiko, xsievert, yaragharib, yaragharib (1) There are missing records for aliceee_tw (valid user), betinhots (valid), demandplanner (valid), ihavetrunutz (valid) (2) There are duplicate recordsfor manuzunino, sai0531, marilimabio, yaragharib, bringing the total back up to 100 responses (3) While not in this example, suspended/non-existent members are correctly removed from results -- K -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Tweet Button sending count.json request, even if it's not required
I'm using the Tweet Button from http://twitter.com/goodies/tweetbutton Code: a href=http://twitter.com/share; class=twitter-share-button data-count=noneTweet/ascript type=text/javascript src=http://platform.twitter.com/widgets.js;/script Even though I do not display the Tweet count, there is still sent a request to twitter for the count.json. This is rather useless in my opinion and only produces traffic. The problem here is that the count.json seems to delay the onload event of the page, which is rather bad in my opinion. Some times the count.json response is pretty fast but other times the response can be around 400ms and this is not really acceptable. Is this the right place to post this issue? I did not find another way to contact twitter directly. thomas -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Incorrect signature
I just tried using time() without adding 3 hours and I get this error: Timestamp out of bounds So I believe adding 3 hours is the right thing to do. On Jan 17, 9:36 pm, Yusuke Yamamoto yus...@mac.com wrote: Hi, time() returns epoch time which is an absolute value, and you don't need to consider timezones.http://php.net/manual/en/function.time.php -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on :http://twitter.com/yusukeyamamoto subscribe me at :http://samuraism.jp/ On Jan 18, 2011, at 13:56 , Thomas wrote: My servers default time is PST but twitters time is EST I believe so that's why I added 3 hours. On Jan 17, 4:35 pm, @epc epcoste...@gmail.com wrote: On Jan 16, 2:10 pm, Thomas thomasrei...@gmail.com wrote: ?php $time = time() + 10800; Why are you setting the timestamp for 3 hours in the future? oAuth/twitter are very picky about the time being close to accurate, being 3 hours off is definitely one potential problem with your code. -- -ed costello -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker:http://code.google.com/p/twitter-api/issues/list Change your membership to this group:http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Incorrect signature
My servers default time is PST but twitters time is EST I believe so that's why I added 3 hours. On Jan 17, 4:35 pm, @epc epcoste...@gmail.com wrote: On Jan 16, 2:10 pm, Thomas thomasrei...@gmail.com wrote: ?php $time = time() + 10800; Why are you setting the timestamp for 3 hours in the future? oAuth/twitter are very picky about the time being close to accurate, being 3 hours off is definitely one potential problem with your code. -- -ed costello -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Incorrect signature
Hello, I am trying to get the recent mentions with the twitter api but it returns the error Incorrect signature. Here's my PHP code: ?php $time = time() + 10800; $target = urlencode(http://api.twitter.com/1/statuses/mentions.xml? count=20); $oauth_consumer_key = urlencode(); $oauth_nonce = urlencode(sha1($time)); $oauth_signature_method = urlencode(HMAC-SHA1); $oauth_token = urlencode(); $oauth_time = $time; $oauth_version = urlencode(1.0); $result = GET$targetoauth_consumer_key%3D$oauth_consumer_key %26oauth_nonce%3D$oauth_nonce%26oauth_signature_method%3D $oauth_signature_method%26oauth_timestamp%3D$oauth_time%26oauth_token %3D$oauth_token%26oauth_version%3D$oauth_version; $consumer_token_secret = urlencode(); $oauth_token_secret = urlencode(); $combine = $consumer_token_secret$oauth_token_secret; $signature = urlencode(base64_encode(hash_hmac(sha1, $result, $combine, true))); $auth = OAuth oauth_nonce=\$oauth_nonce\, oauth_signature_method= \$oauth_signature_method\, oauth_timestamp=\$oauth_time\, oauth_consumer_key=\$oauth_consumer_key\, oauth_token=\$oauth_token \, oauth_signature=\$signature\, oauth_version=\$oauth_version\; $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, http://api.twitter.com/1/statuses/ mentions.xml?count=20); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 0); curl_setopt($curl, CURLOPT_HTTPHEADER, array(Authorization: $auth)); curl_setopt($curl, CURLOPT_POST, true); curl_setopt($curl, CURLOPT_POSTFIELDS, $signature); $result = curl_exec($curl); echo $result; ? Am I not generating the signature correctly? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Facilitating one-click login with OAuth
Hi Biggs, I think what you're looking for is sign in with twitter. Check out this help doc: http://dev.twitter.com/pages/sign_in_with_twitter -- Thomas Mango On Dec 14, 2010, at 7:32 AM, BigglesZX biggle...@gmail.com wrote: Hi all, First off apologies if this has already been covered somewhere, but I've been struggling to find the correct nomenclature and therefore haven't been able to find anything relevant with a search. I'm using OAuth to connect Twitter users with my app and it's all working great. However I noticed this week that when I use my Twitter account to log in at (for example) TwitBlock (http:// www.twitblock.org/) I am instantly redirected back to the app because I have already approved access for this application. Conversely, when I log into my own application I get presented with the Authorize Access Twitter page regardless of whether or not I've already approved my app for access. Am I missing a setting somewhere? I've already selected use Twitter for login as suggested by a friend, but this doesn't seem to have changed anything (I made this change about ten minutes ago). This is a CakePHP app and the library I'm using for OAuth is this one (http://code.42dh.com/oauth/), FYI. Please let me know if I can help by providing any further info. Thanks for reading! Biggs -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] String IDs in keyless JSON arrays
The last mention of this I saw was here: http://groups.google.com/group/twitter-development-talk/browse_thread/thread/92ff8f4b9eae5293/4d298d877ec5de3b I haven't used it, but the stringify_ids parameter looks like it will (already does?) convert the response to an array of strings. Tim wrote: I noticed a short while ago that keyless array responses, e.g. [182097517,183706717,...] were switched to string IDs, e.g. [182097517,183706717,...] Example method blocks/ids This appears to have reverted to integer IDs. I switched my code to take advantage of the change, and I have to switch back to fix my app. What's the official word on this, please? -- Thomas Mango tsma...@gmail.com -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] URGENT: Advice on building the correct API stream
Just wanted to chime in quickly. I've been using Site Streams in production for over a month now and have found them to be absolutely fantastic. Really rock solid. If Site Streams are indeed what you're looking for, I wouldn't let the beta tag scare you away. Taylor Singletary wrote: Hi Neil, What are you particularly trying to accomplish with your Twitter Integration? How are tweets used in the application? What APIs were you leveraging when you were planning a REST-only solution? While Site Streams is officially beta right now, it's very reliable -- but whether it's the right solution for you really depends on what you're looking to accomplish. Thanks, Taylor On Tue, Nov 16, 2010 at 1:32 PM, Neil sheth.n...@gmail.com mailto:sheth.n...@gmail.com wrote: We have previously raised a request to obtain twitter whitelisting but have been told by Twitter (Brian) that we have built the wrong solution. Our developers are struggling to understand which solution they need to build for our site www.mystweet.com http://www.mystweet.com in order to get whitelisted. They have stated that they are unsure which one to choose: 1) http://dev.twitter.com/pages/site_streams - twitter recommend this for the kind of solution which we want to implement, but this is still in beta 2) http://dev.twitter.com/pages/user_streams_suggestions - but this is not what they would allow for our case. Can you please advise what solution needs to be built? We're hoping to correct this before they go on their holidays Thanks PREVIOUS EMAIL FROM BRIAN Hi Jessel, Sorry about this! There is currently an issue that removes the rejection reason from some whitelist emails. Your requests have rejected because we encourage you to use our Streaming API instead to accomplish your purposes. As described onhttp://dev.twitter.com/pages/streaming_api_methods http://dev.twitter.com/pages/streaming_api_methods , you may use the statuses/filter method with the follow parameter to receive a real-time stream of tweets from all the users you're interested in. I apologize for any inconvenience this causes to your project. Thanks for your understanding, Brian -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Thomas Mango tsma...@gmail.com -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Response format details?
Hey, Colin. An easy way to test API calls and see their response is by using the console (you need an app registered): http://dev.twitter.com/console Or by getting a copy of twurl to use locally: http://github.com/marcel/twurl Colin Howe wrote: Hi, I can't find any documentation on the response format for anything that returns tweets. E.g. http://dev.twitter.com/doc/get/statuses/mentions Is there any documentation of what the response looks like and what each field means? Specifically, I'm looking for information on when in_reply_to_[status| user]_id are populated and what they are populated with. Thanks, Colin -- Thomas Mango tsma...@gmail.com -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Search Home Time Line
The home_timeline API method returns up to 800 statuses: http://dev.twitter.com/doc/get/statuses/home_timeline João Paulo Sabino de Moraes wrote: Thanks for replying So, is there a limit of home time line tweets that can be got ? thanks -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Thomas Mango tsma...@gmail.com -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Re: User Streaming API and use of OAuth from web browser
xAuth is actually for exchanging usernames and passwords for OAuth keys. In the end, all of your requests are still using OAuth. More about xAuth: http://dev.twitter.com/pages/xauth Jonathon Hill wrote: Have you looked at xAuth? It was designed for desktop clients but it may work well with Javascript clients. Jonathon Hill On Oct 6, 4:54 pm, Tim Bulltim.b...@binaryplex.com wrote: Hi, We are building an application client that is browser based. We're very comfortable with using OAuth from our server side code and are using it fine with the REST API (users sign in, authenticate with Twitter, we store their access tokens and reuse as requested - at the moment we mimic the required Twitter API on our server and when a user does something like a POST, we call our stub, use their token to then make the call via OAuth to Twitter). So far so good, but we'd like to implement User Streaming directly into the client side application. I've been browsing the Twitter Development documentation and there's a couple of points I'd like clarification on: *http://dev.twitter.com/pages/auth_overviewsays Streaming supports Basic and OAuth. *http://dev.twitter.com/pages/user_streamssays that the user streams supports OAuth only HTTPS, OAuth and JSON only. No problems here, I just raise it to point out the auth_overview doco is slightly out of date. *http://dev.twitter.com/pages/oauth_librariestalks about a JS library but says Javascript really shouldn't be used for OAuth 1.0A with respect to websites in web browsers. Ideally, you'll only use Javascript to perform OAuth operations when using server-side. The points I'd like some clarification on: 1. Given user_streams API is the intended way for clients to access Twitter going forwards, I presume it's intended not just for desktop, but also web clients too? 2. If 1 is correct, then is it OK to use JavaScript for the OAuth? If it's not, what is the recommended approach for a client side web application to connect and authenticate to the user_stream? Thanks, Tim -- Thomas Mango tsma...@gmail.com -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Use twitterapi.update method to my own account via .net web app without human intervention
You should save the oauth access key/secret you get for the account you want to post to (if it's your application's account, you can get the access keys from the application's page on dev.twitter.com). You can then use your client key/secret and user access key/secret to make calls to the API on that user's behalf without them logging into an actual session of your application. This page is a good overview of OAuth: http://dev.twitter.com/pages/auth bob wrote: I have an application that maintains sport fields playing status. When it rains, I'd like to update my account to show the closures via my .net application. Problem is when using oAuth, I must sign in to allow the app access to my Twitter account. Is there any way that oAuth can do this without needing this step. -- Thomas Mango tsma...@gmail.com -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Re: How to test for one user following another
I apologize, I was actually saying that you should specify both the source and the target. It was my understanding you needed both, but it looks like when you make an authenticated request (like you do with twurl), you can specify just the target. With that said, I was able to use twurl and specify only the target and get it to work: twurl /friendships/show.xml?target_screen_name=Alternate1985 This used my authenticated user, @tsmango, as the source and gave me the proper response. Is that what your twurl call looked like? Also, if you don't quote the query, you'll have problems with multiple parameters: This one works: twurl /friendships/show.xml?source_screen_name=samvermettetarget_screen_name=Alternate1985 But this one fails with the error you were receiving: twurl /friendships/show.xml?source_screen_name=samvermettetarget_screen_name=Alternate1985 Hope that helps and sorry again for the confusion about needed to specify the source. Joe Rattz wrote: That doesn't work either: hash request/1/friendships/show.xml/request errorTarget user not specified./error /hash That's right from Twurl despite the fact that I provided both the source_screen_name and target_screen_name. Besides, why shouldn't the other two methods work? They are documented methods. On Oct 7, 7:09 pm, Thomas Mangotsma...@gmail.com wrote: You should be providing both the source and a target user to the /friendships/show method. You can use source_id target_id or source_screen_name target_screen_name with /friendships/show. Here's the API documentation:http://dev.twitter.com/doc/get/friendships/show Joe Rattz wrote: I would like to determine if my registered application's user is following another user. First I tried friendships/show with a target_screen_name = someuser and get this error: hash request/1/friendships/show.xml/request errorTarget user not specified./error /hash Then I tried friendships/show with user_a = myusername and user_b = someuser and get this error: hash request/1/friendships/exists.xml/request errorTwo user ids or screen_names must be supplied./error /hash I would prefer to use the show method and without having to specify my application's user's username. These are both using the Twulr Console. What am I missing? Thanks. -- Thomas Mango tsma...@gmail.com- Hide quoted text - - Show quoted text - -- Thomas Mango tsma...@gmail.com -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] [SiteStreams] can't follow more than one user
Hey, Ruben. That's the correct URL format. Are you sure your account was approved for Site Stream access? Ruben Fonseca wrote: Hi @all! Not sure if I'm posting to the correct list, but here it goes. I'm currently trying to migrate a website service that uses UserStreams to SiteStreams, as the documentation tells me to do. However I'm finding a difficult problem that I've been able to reproduce: If I try to follow 1 user_id, it works ok. If I try to follow 2 or more, SiteStreams always answers 401 Unauthorized. Example: (Host: betastream.twitter.com) - this works GET /2b/site.json?with=followingsfollow=11528912 HTTP/1.1 - this works too GET /2b/site.json?with=followingsfollow=9512582 HTTP/1.1 - this always returns 401 UNAUTHORIZED GET /2b/site.json?with=followingsfollow=11528912,9512582 HTTP/1.1 Any thing I'm missing here? Thank you! -- Thomas Mango tsma...@gmail.com -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Hotlinking images
I believe it's okay to directly use the URLs given in responses (like the user's profile image url), but you'll quickly run into issues where those URLs will stop working when someone changes their profile image. I suggest keeping a copy of the image cached yourself and updating it every so often to avoid issues like this. However, a better alternative may be to use @joestump's http://tweetimag.es service. Christian Fazzini wrote: Creating a new Twitter app. I am thinking whether I should save the users images (profile and background) on the local server or hotlink it instead? Whats the e-etiquette for this? Does Twitter encourage us to hotlink images? -- Thomas Mango tsma...@gmail.com -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Is the authorized user count for apps still available?
Hey, Jon. This was actually just answered recently: http://groups.google.com/group/twitter-development-talk/browse_thread/thread/979d3d5bdfa06083 Basically, no it isn't readily available anymore and it would be better to track it yourself. Jon Colverson wrote: Hello. I remember seeing somewhere a stat showing how many users had authorized API access for my app, but I can't seem to find it anymore. Is this number no longer available, or is it still there and I'm a dunce for not being able to find it? Thanks. -- Jon -- Thomas Mango tsma...@gmail.com -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] bidirectional relationship
Ashwin, As far as I know, you can't do this in a single API call. You can, however, call /friends/ids and /followers/ids and use the intersection of the two arrays to find what you're looking for. Relevant API documentation: http://dev.twitter.com/doc/get/friends/ids http://dev.twitter.com/doc/get/followers/ids ashy wrote: Hi All, As we can retrieve friends and followers of the user using the twitter rest api, can we also retrieve users who are both friends and followers of the user at the same time (bidirectional relationship) using the twitter rest api? Any ideas? thanks ashwin -- Thomas Mango tsma...@gmail.com -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] ways to authorize users other then oAuth and xAuth?
OAuth will work fine for this. Once a user authorizes your application, you store their access key/secret. Using your client's key/secret and the user's key/secret, you can sign a request to Twitter on behalf of that user. Twitter's OAuth documentation: http://dev.twitter.com/pages/auth sir pelidor wrote: Greeting, I have an app that needs to update its' member's twitter status as well as status for other social-network sites in a scheduled manner. For which I found it very difficult to implement it using oAuth or xAuth, therefore I seek for advise from fellow developers. Detail of the workflow: -End users sign up my service, and will be given to opportunity to store their twitter's access credentials. -End users update status at my service and schedule when it will be deliver -End users are limited to update their status once every 6 days. -To avoid spams, If the end user do not renewal their status after it has been sent by my service, it will not schedule for the next delivery (it does not allow end users to sent the same tweet as the previous one) -In a daily basis, the scheduler of my service will query each members in the system who are qualified to deliver tweet in that given day. Then it will mass update all qualifier's twitter status. Due to how my scheduler works in the background, I believe oAuth or xAuth may not be a proper solution to my problem. Since Twitter API no longer support Basic Auth, what other manners can I utilize so I can send tweet on behave of my members? Thank you. -- Thomas Mango tsma...@gmail.com -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Ultimately send my twitter followers direct messages from my application
I think what you described is exactly right. You're looking for an app that users can authorize with using OAuth. Once they're redirected back to your site (part of the OAuth process), you can create a user account for them locally and ask them to follow your Twitter account. Because they've authorized your application, when they agree to follow you, you can use the /friendships/create API method on their behalf. Relevant API documentation: http://dev.twitter.com/pages/auth http://dev.twitter.com/doc/post/friendships/create Dialflow wrote: Hi: I was wondering if any one could suggest an elegant approach to ultimately sending direct messages to my Twitter followers from my application. I'd like people that join web site to do the following: From their member page on my site, I'd like for them to click a Twitter follow button, go to Twitter, follow me, then return to their member page on my site. After they do this, I want capture their twitter ID and associate it with their user account on my site so I can send them direct messages from my application. I'd really appreciate an elegant approach to solving this. I guess I'm looking for an answer like: Use oAuth to have the user authorize your app on Twitter, then redirect redirect back to your app, click a twittter follow button, and extract their Twitter ID from x_file and then My days of programming are way behind me so I hope that makes some sense. Thanks so much. Curtis -- Thomas Mango tsma...@gmail.com -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Ultimately send my twitter followers direct messages from my application
Yes, there's a limit of 250 direct messages per day according to: http://support.twitter.com/forums/10711/entries/15364 I'm not sure if there are any policies against automatically direct messaging someone when they follow you, but a 250/day would certainly prevent that at some point. I don't know the details of your application, but if you were only planning to send new followers a direct message, perhaps you can avoid asking them to follow you and sending them a direct message by just showing them what you wanted to message them when they come back from the OAuth authorization. -- Thomas Mango On Oct 2, 2010, at 1:12 PM, Dean Collins d...@cognation.net wrote: Thomas are there restrictions on what/how many direct messages can be sent? I haven't been paying attention with twitter for a while but I thought twitter banned automatic direct messages. Thanks in advance, Dean I think what you described is exactly right. You're looking for an app that users can authorize with using OAuth. Once they're redirected back to your site (part of the OAuth process), you can create a user account for them locally and ask them to follow your Twitter account. Because they've authorized your application, when they agree to follow you, you can use the /friendships/create API method on their behalf. Relevant API documentation: http://dev.twitter.com/pages/auth http://dev.twitter.com/doc/post/friendships/create Dialflow wrote: Hi: I was wondering if any one could suggest an elegant approach to ultimately sending direct messages to my Twitter followers from my application. I'd like people that join web site to do the following: From their member page on my site, I'd like for them to click a Twitter follow button, go to Twitter, follow me, then return to their member page on my site. After they do this, I want capture their twitter ID and associate it with their user account on my site so I can send them direct messages from my application. I'd really appreciate an elegant approach to solving this. I guess I'm looking for an answer like: Use oAuth to have the user authorize your app on Twitter, then redirect redirect back to your app, click a twittter follow button, and extract their Twitter ID from x_file and then My days of programming are way behind me so I hope that makes some sense. Thanks so much. Curtis -- Thomas Mango tsma...@gmail.com -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] add list members
Are you sure you're requesting the correct format? I was able to POST to /:user/:list_id/members.xml with an id of a user and it correctly added the user to my list and responded with XML: POST: /14338478/23124429/members.xml?id=14477861 Response: http://gist.github.com/607880 On Sat, Oct 2, 2010 at 2:16 PM, Damon Clinkscales sca...@pobox.com wrote: I've tried both create_all.xml and members.xml to add multiple or just one member to a list. The list is owned by me and exists. http://dev.twitter.com/doc/post/:user/:list_id/create_all or http://dev.twitter.com/doc/post/:user/:list_id/members When the call goes through, the response is a normal #newtwitter web page instead of an API response. Is this a known issue? thanks, /damon -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Thomas Mango tsma...@gmail.com -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] about image-size in newtwitter
If you're using the profile_image_url from the API, you can remove the _normal from the suffix to get the original size, although you have to make sure the user doesn't have a default image. You can also use this API method: http://dev.twitter.com/doc/get/users/profile_image/:screen_name The response from that API method shouldn't be used directly as an image source, though. On Fri, Oct 1, 2010 at 9:43 AM, Rushikesh Bhanage rishibhan...@gmail.com wrote: Hi there, I got the new look of new twitter, and liked it a lot. The profile-image size in newtwitter has been increased from previous(48*48). When I increase the profile image size of the user(the image i get from api right now), it looks unclear, blur type. I just need to know that, will I get a big image from twitter API, once new twitter will come in service completely? or can I do it from my side? Thank you in Advance. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Thomas Mango tsma...@gmail.com -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Re: Site Streams - Unfollow Events?
I'm seeing list modification events in my Site Streams. The list events I've seen are are list_member_added, list_member_removed and list_created. Tom van der Woerdt wrote: I tried, but I didn't see anything. Adding a new user to one of my lists didn't send anything, and removing didn't either. Haven't been able to test this outside my app, although I doubt that it's my code (it simply outputs all incoming data to debug). Tried with cURL but got an error about Basic Auth. Can anyone verify that there are no list events in the streams, or am I simply going blind? Tom On 10/1/10 10:57 PM, John Kalucki wrote: List modifications are streamed as social events. The lists themselves are not streamed. -John On Fri, Oct 1, 2010 at 11:01 AM, Tom van der Woerdti...@tvdw.eu wrote: Correct. I'd like to add an additional question to this thread: what about list events? The docs say that they get sent, but they don't. http://dev.twitter.com/pages/user_streams Tom On 10/1/10 7:46 PM, Justin wrote: It sounds like it's the same (NO) for both: Friendship Events Created - To you, from you Deleted - From you So, unfollow events from you not to you as the target. There doesn't seem to be any way to tell when someone stops following other than using the rest API to check followers and compare it to the list of following. Same with blocks: Created - From you (source) Deleted - From you (source) On Sep 30, 12:05 pm, M. Edward (Ed) Boraskyzn...@borasky- research.net wrote: Site Streams only or User Streams? I'm developing around User Streams. -- M. Edward (Ed) Boraskyhttp://borasky-research.nethttp://twitter.com/znmeb A mathematician is a device for turning coffee into theorems. - Paul Erdos Quoting tsmangotsma...@gmail.com: Hi, Ed. Block and unblock events are already being delivered in the Site Stream. Very useful! On Sep 30, 12:30 pm, M. Edward (Ed) Boraskyzn...@borasky- research.net wrote: As long as we're wishing, I'd like to get a notification when someone blocks me. ;-) -- M. Edward (Ed) Boraskyhttp://borasky-research.nethttp://twitter.com/znmeb A mathematician is a device for turning coffee into theorems. - Paul Erdos - Thomas Mango @tsmango -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker:http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Thomas Mango tsma...@gmail.com -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] New twitter.com uses an OAuth app called web?
If it's built on top of @anywhere, it will use OAuth 2.0. Tom On Tue, Sep 21, 2010 at 11:01 AM, Tom van der Woerdt i...@tvdw.eu wrote: There are no OAuth_* parameters when making requests to api.twitter.com. However, I do see a lot of cookies, including auth_token and twitter_sess. I would assume that these are related. It's definitely not OAuth 1.0 :-) Tom On 9/21/10 11:56 AM, Karthik wrote: Just read from this blog post (http://engineering.twitter.com/2010/09/ tech-behind-new-twittercom.html), that new Twitter.com is a client to Twitter API. I can't help but wonder if, 1) Twitter.com uses an OAuth app called web? 2) Does the site generate OAuth access tokens for every user from their raw credentials? I assume you guys don't have exclusive access to basic auth :) -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
Re: [twitter-dev] Checking if a user still has authorized access of my application
I'd have thought calling verify_credentials would do it - you'll get a 401 and a specific error message to tell you that the key is no longer valid. Alternatively, why not try to perform your actions (like posting a tweet or retrieving tweets) and if they return a 401, use that to indicate that the user has revoked permissions. Tom On Fri, Jul 16, 2010 at 11:59 AM, PBro brouwe...@gmail.com wrote: Hi, I would like to know if it is possible to check if a user still allows my application to access his twitter account. We are building an application that will post tweets on the user's account and read new tweets from his account. Therefore i would like to check if the user hasn't revoked access of the application via his profile. So, is there something like getPermissions or maybe a callback for when a users revokes access? Sincerely, Patrick
Re: [twitter-dev] Previous_Cursor Not Working
I had the same problem with next_cursor. next_cursor_str worked fine. Thomas 2010/7/5 Ron rbther...@gmail.com: Anyone else seeing a problem on Followers or Friends with Previous_Cursor not working (returning a blank response)?
Re: [twitter-dev] Re: Home_timeline and retweets
I don't think that you're doing anything wrong - it's just a quirk of the API - you don't get any info in your home timeline on stuff you retweeted. I think this is because of the condition that you should never see a retweet if you would have seen it already in your timeline. This stops you from seeing the latest popular tweet retweeted 100 times from each of your followers if you follow the person who originally tweeted it. However, I guess it also stops you seeing that you have retweeted a tweet, as theoretically you've already seen it. I think I've made that more complicated than it actually is... The only thing that you can do is to get the Home Timeline and then merge retweets_of_me in over the top. Tom On Mon, Jul 5, 2010 at 4:03 PM, luisg luisfmgoncal...@gmail.com wrote: Can somebody help? Maybe I'm doing something wrong. For example, if account A has Account B as follower and vice-versa, and if account A retweets tweet XPTO made by account B, shouldn't the tweet XPTO appear with retweet_status property if we request the home_timeline? Please help, Luis On Jul 3, 4:45 pm, luisg luisfmgoncal...@gmail.com wrote: Hello everybody, I'm having a problem lately with the retweets. In the API documentation and about the home_timeline says: 'Returns the 20 most recent statuses, including retweets, posted by the authenticating user and that user's friends. This is the equivalent of /timeline/home on the Web.' The problem is, when I request the home_timeline, none of my tweets have the 'retweeted_status' that should be present if it is a retweet. But if I request 'retweeted_by_me' I get all the information, including the 'retweeted_status'. Can someone tell me what's wrong? Something changed? Thanks, Luis
Re: [twitter-dev] Applications which has access.
Not through the API, although you can look at http://twitter.com/settings/connections to see which apps have access. Tom On Thu, Jul 1, 2010 at 10:14 AM, Anna annatyler1...@gmail.com wrote: Hi, Is there any way to retrive the applications which has access to my account?
[twitter-dev] Get username from Twitter API
Hi all, I have created a Twitter app using oAuth for authentication. However, I cannot find any info on how I can retrieve the user's username in order to get his details. By user, I mean the one that granted my app permission and for whom the app is making the API calls Thank you
[twitter-dev] Re: Get username from Twitter API
Excellent Taylor Thanks a lot I was going crazy with this On 28 Ιούν, 17:19, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Thomas, There are a few ways you retrieve this information. When you are on the final leg of your OAuth transaction (exchanging a request token for an access token), part of the response that you get back includes the user id and screen name for the authenticating user: oauth_token=819797-Jxq8aYUDRmykzVKrgoLhXSq67TEa5ruc4GJC2rWimwoauth_token_secret=J6zix3FfA9LofH0awS24M3HcBYXO5nI1iYe8EfBAuser_id=819797screen_name=episod (Notice both screen_name and user_id keys) You can also make an OAuth authenticated call tohttp://api.twitter.com/1/account/verify_credentials.xmland receive the information you're looking for back in either XML or JSON format. Taylor On Mon, Jun 28, 2010 at 7:02 AM, thomas bellostho...@gmail.com wrote: Hi all, I have created a Twitter app using oAuth for authentication. However, I cannot find any info on how I can retrieve the user's username in order to get his details. By user, I mean the one that granted my app permission and for whom the app is making the API calls Thank you
Re: [twitter-dev] Re: countdown to OAuth / basic auth removal / OAuthcalypse
Hi Raffi, Great that we've got a date for basic auth deprecation, but is there any news/timescales on OAuth Echo? We've got nine weeks and counting to get the spec, get the service providers to implement it, build it into clients and get our user-bases to upgrade if they want to be able to upload photos post June 30th. That's easier if you're web based, but not a huge amount of time if you are desktop or mobile based. Thanks, Tom On Sat, Apr 24, 2010 at 4:49 PM, Raffi Krikorian ra...@twitter.com wrote: there is a really good chance - now that oauth 2.0 has been submitted as a draft http://tools.ietf.org/html/draft-hammer-oauth2-00, we are going to spend some time catching up our oauth 2.0 implementation. at that point, we'll evaluate letting it loose. On Sat, Apr 24, 2010 at 8:44 AM, Dewald Pretorius dpr...@gmail.comwrote: Raffi, that is super awesome. Thank you. Any chance that you will have OAuth 2.0 in production before then? On Apr 24, 12:40 pm, Raffi Krikorian ra...@twitter.com wrote: hi all. you're going to be hearing a lot from me over the next 9 weeks. our plan is to turn off basic authorization on the API by june 30, 2010 -- developers will have to switch over to OAuth by that time. between now and then, there will be a *lot* of information coming along with tips on how to use OAuth Echo, xAuth, etc. we really want to make this transition as easy as we can for everybody. as always, please feel free to reach out to this group, or to @twitterapi directly. if you need help remembering the date - http://bit.ly/twcountdown . -- Raffi Krikorian Twitter Platform Teamhttp://twitter.com/raffi -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en -- Raffi Krikorian Twitter Platform Team http://twitter.com/raffi
Re: [twitter-dev] Announcing Twurl: OAuth-enabled curl for the Twitter API
Whitelisting still overrides oAuth rate limit. If you are whitelisted, you'll get 20,000 reqs/hour for your account, otherwise you'll get the default 350. Tom On Tue, Apr 20, 2010 at 10:04 PM, Jeffrey Greenberg jeffreygreenb...@gmail.com wrote: I'm already a whitelisted app (Tweettronics.com) and do not want access downgraded. I'm concerned that switching to oauth and registering my app at dev might cause my whitelisting status to change. Can you assure me that won't happen? Thx Sent from my iPhone On Apr 20, 2010, at 12:38 PM, Dean Collins d...@cognation.net wrote: Great so you are moving before oauth 2 is finished. You guys are crazy. You’re making everyone change now and then change again in 3 months. Cheers, Dean -- *From:* twitter-development-talk@googlegroups.com [mailto: twitter-development-t...@googlegroups.com] *On Behalf Of *Marcel Molina *Sent:* Tuesday, April 20, 2010 3:13 PM *To:* twitter-development-talk@googlegroups.com; twitter-api-annou...@googlegroups.com twitter-api-annou...@googlegroups.com *Subject:* [twitter-dev] Announcing Twurl: OAuth-enabled curl for the Twitter API We've announced that come June 2010, Basic Auth will no longer be supported via the Twitter API. All authenticated requests will be moving to OAuth (either version 1.0a or the emerging 2.0 spec). There are many benefits from this change. Aside from the obvious security improvements, having all requests be signed with OAuth gives us far better visibility into our traffic and allows us many more tools for controlling and limiting abuse. When we know and trust the origin of our traffic we can loosen the reigns a lot and trust by default. We've already made a move in this direction by automatically increasing rate limits for requests signed with OAuth made to the new versioned http://api.twitter.comapi.twitter.com host. One of the often cited virtues of the Twitter API is its simplicity. All you have to do to poke around at the API is curl, for example, http://api.twitter.com/1/users/noradio.xml http://api.twitter.com/1/users/noradio.xml and you're off and running. When you require that OAuth be added to the mix, you risk losing the simplicity and low barrier to entry that curl affords you. We want to preserve this simplicity. So we've provided two tools to let you poke around at the API without having to fuss with all the extraneous details of OAuth. For those who want the ease of the web, we've already included an API console in our new developer portal at http://dev.twitter.com/console http://dev.twitter.com/console. And now today we're glad to make available the Twurl command line utility as open source software: http://github.com/marcel/twurlhttp://github.com/marcel/twurl If you already have RubyGems ( http://rubygems.org/http://rubygems.org/), you can install it with the gem command: sudo gem i twurl --source http://rubygems.orghttp://rubygems.org If you don't have RubyGems but you have Rake (http://rake.rubyforge.org/ http://rake.rubyforge.org/), you can install it from source. Check out the INSTALL file ( http://github.com/marcel/twurl/blob/master/INSTALL http://github.com/marcel/twurl/blob/master/INSTALL). Once you've got it installed, start off by checking out the README (http://github.com/marcel/twurl/blob/master/README http://github.com/marcel/twurl/blob/master/README) (you can always get the README by running 'twurl -T'): +---+ | Twurl | +---+ Twurl is like curl, but tailored specifically for the Twitter API. It knows how to grant an access token to a client application for a specified user and then sign all requests with that access token. It also provides other development and debugging conveniences such as defining aliases for common requests, as well as support for multiple access tokens to easily switch between different client applications and Twitter accounts. +-+ | Getting Started | +-+ The first thing you have to do is register an OAuth application to get a consumer key and secret. http://dev.twitter.com/apps/newhttp://dev.twitter.com/apps/new When you have your consumer key and its secret you authorize your Twitter account to make API requests with your consumer key and secret. % twurl authorize --consumer-key the_key \ --consumer-secret the_secret This will return an URL that you should open up in your browser. Authenticate to Twitter, and then enter the returned PIN back into the terminal. Assuming all that works well, you will beauthorized to make requests with the API. Twurl will tell you as much. If your consumer application has xAuth enabled, then you can use a variant of the above % twurl authorize -u username -p password \ --consumer-key the_key \
Re: [twitter-dev] PostDating of twitter messages
Hi Alex, You're not going to be able to do that through the API (or anyone else)- it's a nice usecase, but allowing people to add tweets from 'back in time' would get very confusing, very quickly. Why not add a timestamp to the tweet body, to let people following know when it was written? Tom On Wed, Apr 7, 2010 at 12:31 PM, eckley eck...@gmail.com wrote: Hey guys, I'm working on a project at the moment that will involve a group of 8 people traveling across america. They want to use twitter to post updates throughout the journey, however they are going to be a away from internet access for some time. I was thinking we could have a computer go with them that would recorded their tweets and them upload them when they got back into internet range. However i can't find anyway of postdating the tweets. Does anyone know if this is possible? Cheers guys Alex. -- To unsubscribe, reply using remove me as the subject.
Re: [twitter-dev] Re: Sending geo-tagged tweets is broken? 502 Bad Gateway Error ...
Yes, we're (TweetDeck) having the same issues, and it looks like Tweetie is as well - looks like something may have broken last night when rolling out the new geo features? Tom On Fri, Mar 12, 2010 at 10:20 AM, Rich rhyl...@gmail.com wrote: I'm seeing this too, whenever I send a lat or long parameter I get a 502 error and can't post any geo location tweets On Mar 12, 8:59 am, janole s...@mobileways.de wrote: Hi, I cannot send geotagged tweets via Gravity anymore. I'm always getting an HTTP 502 Bad Gateway error. Without attaching the lat/long vars, it's working. Strangely, I cannot send updates via the website either (twitter.com). @janole -- Jan Ole Suhr / Gravity S60 Twitter Client o...@mobileways.de
Re: [twitter-dev] Re: Sending geo-tagged tweets is broken? 502 Bad Gateway Error ...
This seems to be working ok again, at least API wise. Tom On Fri, Mar 12, 2010 at 12:02 PM, Andrew Badera and...@badera.us wrote: Note some users also appear to have to clear cookies and sign back in, in addition to unchecking the location option. --ab On Fri, Mar 12, 2010 at 6:56 AM, Andrew Badera and...@badera.us wrote: This is also preventing posting from web UI if user has location option checked in settings. ∞ 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 Fri, Mar 12, 2010 at 6:49 AM, Thomas Woolway tswool...@gmail.com wrote: Yes, we're (TweetDeck) having the same issues, and it looks like Tweetie is as well - looks like something may have broken last night when rolling out the new geo features? Tom On Fri, Mar 12, 2010 at 10:20 AM, Rich rhyl...@gmail.com wrote: I'm seeing this too, whenever I send a lat or long parameter I get a 502 error and can't post any geo location tweets On Mar 12, 8:59 am, janole s...@mobileways.de wrote: Hi, I cannot send geotagged tweets via Gravity anymore. I'm always getting an HTTP 502 Bad Gateway error. Without attaching the lat/long vars, it's working. Strangely, I cannot send updates via the website either (twitter.com ). @janole -- Jan Ole Suhr / Gravity S60 Twitter Client o...@mobileways.de
Re: [twitter-dev] link to disabled acct
Twitter brings up a page saying something like 'This account has been suspended'. That's the same whether you try to open the user's profile page or an individual tweet. Tom On Fri, Mar 5, 2010 at 11:39 AM, Frank gn...@windstream.net wrote: If an account is disabled will a link to it on a webpage still bring it up?
Re: [twitter-dev] Are there anyway to retrieve user profile from twitter API
When you get the access token back from Twitter after the OAuth step, it should also include some basic user information - including the user id, from memory. Hope this helps, Tom On Wed, Mar 3, 2010 at 4:56 PM, xhe hexuf...@gmail.com wrote: I now want to enable user to link their twitter account to our website, that means, after OAuth, twitter will forward user to my website, and then I want to retrieve that user's profile, such as twitterId, name..., and prefill the form for user to register. This steps is pretty straightforword, just like any other social websites, such as linkedIn, myspace. But I didn't realize that after Oauth step, I am lost in finding a suitable API to retrieve that user's profile. I would like to use this one, http://api.twitter.com/1/users/show.format But this API require the userID or screenName, that is what I don't have. So question is: how to retrieve the userId or screen name and other profile information for the user? Thanks
Re: [twitter-dev] What is the correct OAuth API endpoint
It's good to know that this is the recommended URI root for OAuth. Any chance of getting the docs ( http://apiwiki.twitter.com/Twitter-REST-API-Method:-oauth-access_token etc) updated to help out newcomers? Also, it might be worth adding a big NB that those resources aren't versioned - it's one of those things that is quite easy to miss. Cheers, Tom On Wed, Mar 3, 2010 at 3:26 PM, Scott Wilcox sc...@tig.gr wrote: Zhami, I'd go with https://api.twitter.com/1 Scott. On 3 Mar 2010, at 15:02, Zhami wrote: What is the correct API end-point for OAuth authenticated, *documented* API calls? http(s)://twitter.com http(s)://api.twitter.com http(s)://api.twitter.com/1
Re: [twitter-dev] Problems with home_timeline and since_id
Hi, Try https://twitter.com/statuses/home_timeline.json?since_id=9959648124 count=50 The since_id is a limiting parameter - the API will give you statuses going back until either you hit the since_id or the count parameter. Otherwise you could theoretically set the since_id to 1 and get all 10 billions tweets... Hope this helps, Tom On Thu, Mar 4, 2010 at 7:29 PM, Fernando Olivares aeris@gmail.comwrote: As mentioned in the topic, I'm having issues with home_timeline whenever I add the since_id parameter. Whenever I do a request with since_id, I only get 20 tweets back. This does not happen when I set the count parameter (i.e. I can ask for 25 tweets and get 25 tweets back, but if I ask tweets since id 12345 I only get the latest 20 tweets). This is my complete URL: Not working - https://twitter.com/statuses/home_timeline.json?since_id=9959648124 Working - https://twitter.com/statuses/home_timeline.json?count=50 Any idea what I'm doing wrong?
Re: [twitter-dev] All replies are appearing in home_timeline
Yes, seeing this as well - seemed to start happening about 4 hours ago. Tom On Thu, Mar 4, 2010 at 11:59 PM, Chris Thomson chri...@chris24.ca wrote: Replies from people I'm not following (not directly, and not through any lists) are appearing in home_timeline. This hasn't always been the case, has it? Is this the new expected behaviour, or is it just a bug? -- Chris Thomson http://twitter.com/chris24
Re: [twitter-dev] Re: Introduce yourself!
Hi folks, I'm Tom Woolway, and I work on the TweetDeck desktop client (and hack around on various other things), based in London, UK. I now primarily work with AS3, but in a past life used to be write stuff in C and Python. I'm also heading to Chirp, look forward to meeting a lot of you there. Cheers, Tom On Wed, Feb 24, 2010 at 7:11 AM, Patrick kenned...@gmail.com wrote: Hi, I'm Patrick Kennedy, and I grew up in Hawaii. I have worked with Department of State for several years now, currently in Vietnam, and next up, Laos - definitely your S/E Asian connection - come and visit anytime. :-) Anyways, I created a buggy twitter client in PHP (Basic Auth), and I am becoming very capable with OAuth coding now. I hope to release something cool by June, but who knows. While I may not be the best programmer in the world, I find Twitter to be a super fun way to get into coding. Often my shortcomings are with things that are difficult for many - like regex, etc - and if I had more access and code, I'd be 100 times better. Even so, I enjoy the open API twitter fun of it, and I hope to make something useful and cool in the not-too- distant future. Most of my coding is with PHP, but I am going to try out RoR pretty soon.
Re: [twitter-dev] complete Retweet functionality in thirdparty apps
Abraham, Are there any plans to make this any easier for developers to implement retweets-of-me in the short term? The best solution (for client devs) would obviously be a stream of the latest retweets, with the full original status object inline, but as it looks like this isn't going to happen, any chance of at least adding a retweet_count or last_retweeted_id node to the retweets_of_me statuses? That way we'd be able to intelligently use statuses/retweets for only the tweets which have new retweets, rather than burning through API requests checking multiple tweets every time. This has become a bit more of an issue as it appears that new style retweets have stopped appearing in search results, so users can't even workaround this by using a search for their username. Thanks, Tom On Fri, Feb 19, 2010 at 10:44 AM, srikanth reddy srikanth.yara...@gmail.com wrote: @Abraham One thing you cant do with the API is Preventing users from retweeting their friends retweet which has already been retweeted by the user .To check this Go to Retweets By Others tab just retweet a friend's retweet and refresh your tabs. In web interface that tweet will appear in both Retweets By Others and Retweets By Me tabs and you will be given an option to undo the retweet in both tabs. But you cannot do the same with the API There is no way a user can find his retweeted entry in Retweets By Others directly (with one call) To fix this either 1) we should check the original retweet ids in both Retweets By Others and Retweets by Me (i.e make 2 calls). Not only is this resource/time consuming but it is highly unreliable. Some times Retweets by Me entries may not overlap with the entries from Retweets By Others due to the data size limit (200) Or 2)Twitter should add some flag like retweeted_by_me to the pay load for Retweets By Others which is really helpful This bug has been left untouched for a long time. @Tim Haines Theres already a bug filedfor that( num of ppl who RTed a tweet).API currently shows 20 but the doc says 100. I am okay with this as well. atleast you are seeing 20 ppl. On Fri, Feb 19, 2010 at 9:21 AM, Cameron Kaiser spec...@floodgap.comwrote: http://apiwiki.twitter.com/Twitter-REST-API-Method:-statuses-retweets_of_me Yes. But does rt_o_m list who retweeted you? Near as I can tell it only lists the tweets themselves. Statuses/retweets does. It takes a few API calls but it gets you want is needed. Thanks, but no thanks. Really, if Twitter wants people to use this API more, it has to be much less kludgey than it currently is. -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- The whippings shall continue until morale improves.
[twitter-dev] OAuth for softwares
Hello, still no OAuth solution for softwares (not web apps) ?
Re: [twitter-dev] Not able to read unicode from Twitter Response XML in C#.net
Thanks Zac .C# its working fine. Any idea of using HtmlDecode in FLEX Thanks Rejeev On Thu, Jan 28, 2010 at 11:01 AM, Zac Bowling zbowl...@gmail.com wrote: Also: http://weblogs.sqlteam.com/mladenp/archive/2008/10/21/Different-ways-how-to-escape-an-XML-string-in-C.aspx Zac Bowling On Wed, Jan 27, 2010 at 9:28 PM, Zac Bowling zbowl...@gmail.com wrote: Entity codes. Just decode them... using System.Web; ... string decoded_stuff = HttpUtility.HtmlDecode(encoded_stuff); There is a way to do this with System.Xml but whatever. Zac Bowling On Wed, Jan 27, 2010 at 9:10 PM, Rejeev Thomas rejeevtho...@gmail.comwrote: Please help friends! Thanks Ryan! I am taking an XML response from * http://twitter.com/statuses/friends_timeline.xml* and it happens when I post a Tweet in my home language and trying to read it ,follwoing are some of the Text. *?xml version=1.0 encoding=UTF-8? statuses type=array status created_atWed Jan 27 04:19:36 + 2010/created_at id8265961626/id text#3335;#3368;#3405;#3364;#3405;#3375;#3349;#3405;#3349;#3390;#3376;#3393;#3359;#3398; #3334;#3382;#3353;#3405;#3349; #3370;#3376;#3391;#3351;#3363;#3391;#3349;#3405;#3349;#3363;#3374;#3398;#3368;#3405;#3368;#3405; #3347;#3384;#3392;#3384;#3405; #3372;#3391;#3383;#3370;#3405;#3370;#3405;: #3374;#3398;#3378;#3405;#8205;#3372;#3363;#3405;#8205;: #3347;#3384;#3405;#8204;#3359;#3405;#3376;#3399;#3378;#3391;#3375;#3375;#3391;#3378;#3405;#8205; #3335;#3368;#3405;#3364;#3405;#3375;#3349;#3405;#3349;#3390;#3376;#3405;#8205;#3349;#3405;#3349;#3398;#3364;#3391;#3376;#3398; #3368;#3359;#3349;#3405;#3349;#3393;#3368;#3405;#3368; #3334;.../text* The above are the junk characters responded , also made convert to UTF8 but its not converting. please help. Thanks, Rejeev. On Mon, Jan 25, 2010 at 9:14 PM, ryan alford ryanalford...@gmail.comwrote: Can you paste an example of the bad characters as .Net shows them, and what they should really be? Ryan On Mon, Jan 25, 2010 at 5:36 AM, Rejeev rejeevtho...@gmail.comwrote: Hi all, My Twitter response XML contains some unicode characters , I am not able to read that in C#.net. Its showing junk characters. Please help me to read that in proper text. Thanks, Rejeev
Re: [twitter-dev] Not able to read unicode from Twitter Response XML in C#.net
Thanks Ryan! I am taking an XML response from * http://twitter.com/statuses/friends_timeline.xml* and it happens when I post a Tweet in my home language and trying to read it ,follwoing are some of the Text. *?xml version=1.0 encoding=UTF-8? statuses type=array status created_atWed Jan 27 04:19:36 + 2010/created_at id8265961626/id text#3335;#3368;#3405;#3364;#3405;#3375;#3349;#3405;#3349;#3390;#3376;#3393;#3359;#3398; #3334;#3382;#3353;#3405;#3349; #3370;#3376;#3391;#3351;#3363;#3391;#3349;#3405;#3349;#3363;#3374;#3398;#3368;#3405;#3368;#3405; #3347;#3384;#3392;#3384;#3405; #3372;#3391;#3383;#3370;#3405;#3370;#3405;: #3374;#3398;#3378;#3405;#8205;#3372;#3363;#3405;#8205;: #3347;#3384;#3405;#8204;#3359;#3405;#3376;#3399;#3378;#3391;#3375;#3375;#3391;#3378;#3405;#8205; #3335;#3368;#3405;#3364;#3405;#3375;#3349;#3405;#3349;#3390;#3376;#3405;#8205;#3349;#3405;#3349;#3398;#3364;#3391;#3376;#3398; #3368;#3359;#3349;#3405;#3349;#3393;#3368;#3405;#3368; #3334;.../text* The above are the junk characters responded , also made convert to UTF8 but its not converting. please help. Thanks, Rejeev. On Mon, Jan 25, 2010 at 9:14 PM, ryan alford ryanalford...@gmail.comwrote: Can you paste an example of the bad characters as .Net shows them, and what they should really be? Ryan On Mon, Jan 25, 2010 at 5:36 AM, Rejeev rejeevtho...@gmail.com wrote: Hi all, My Twitter response XML contains some unicode characters , I am not able to read that in C#.net. Its showing junk characters. Please help me to read that in proper text. Thanks, Rejeev
Re: [twitter-dev] Not able to read unicode from Twitter Response XML in C#.net
Please help friends! Thanks Ryan! I am taking an XML response from * http://twitter.com/statuses/friends_timeline.xml* and it happens when I post a Tweet in my home language and trying to read it ,follwoing are some of the Text. *?xml version=1.0 encoding=UTF-8? statuses type=array status created_atWed Jan 27 04:19:36 + 2010/created_at id8265961626/id text#3335;#3368;#3405;#3364;#3405;#3375;#3349;#3405;#3349;#3390;#3376;#3393;#3359;#3398; #3334;#3382;#3353;#3405;#3349; #3370;#3376;#3391;#3351;#3363;#3391;#3349;#3405;#3349;#3363;#3374;#3398;#3368;#3405;#3368;#3405; #3347;#3384;#3392;#3384;#3405; #3372;#3391;#3383;#3370;#3405;#3370;#3405;: #3374;#3398;#3378;#3405;#8205;#3372;#3363;#3405;#8205;: #3347;#3384;#3405;#8204;#3359;#3405;#3376;#3399;#3378;#3391;#3375;#3375;#3391;#3378;#3405;#8205; #3335;#3368;#3405;#3364;#3405;#3375;#3349;#3405;#3349;#3390;#3376;#3405;#8205;#3349;#3405;#3349;#3398;#3364;#3391;#3376;#3398; #3368;#3359;#3349;#3405;#3349;#3393;#3368;#3405;#3368; #3334;.../text* The above are the junk characters responded , also made convert to UTF8 but its not converting. please help. Thanks, Rejeev. On Mon, Jan 25, 2010 at 9:14 PM, ryan alford ryanalford...@gmail.comwrote: Can you paste an example of the bad characters as .Net shows them, and what they should really be? Ryan On Mon, Jan 25, 2010 at 5:36 AM, Rejeev rejeevtho...@gmail.com wrote: Hi all, My Twitter response XML contains some unicode characters , I am not able to read that in C#.net. Its showing junk characters. Please help me to read that in proper text. Thanks, Rejeev
Re: [twitter-dev] How can we change source name?
The ability to specify source parameters through basic auth has been deprecated, and is only allowed for apps that used this before deprecation. You'll need to move to using oAuth for authentication, then you can specify the application source on your application page on Twitter.com Tom On Wed, Jan 6, 2010 at 9:42 AM, kosmo76 iiiso...@gmail.com wrote: In the code of curl_setopt($session, CURLOPT_POSTFIELDS, status=messagesource=CoTweet); using /statuses/update.xml as php curl, if we input CoTweet or Seesmic into the code, a value is entered to the source. However, if we input the name of our application registered to Twitter, a string web is coming out. Is there any specific place to register our application's name? Your soonest answer to this question will be deeply appreciated.
Re: [twitter-dev] http://twitter.com/statuses/friends.xml Improper order
I believe that this is a known issue which the Twitter team are working on. There are messages in this group about the issue - a search should give you some more info. All the best, Tom On Thu, Dec 31, 2009 at 12:03 PM, srikanthsombha...@gmail.com srikanthsombha...@gmail.com wrote: Hi, I am using statuses/friends call to get the list of user's friend's screen names. These screen names are stored by the system. I am maintaining the last stored screen name, so that it can be used as offset from which new screen names can be listed.For ex: today I stored 250 screen names, after 10 days 50 more friends are added, by using the offset I end up storing the newly added 50 screen names only. The problem is that statuses/friends is returning the array in the order in which they joined twitter , but not the order in which the user is following them. As per the documentation it says ... Returns a user's friends, each with current status inline. They are ordered by the order in which the user followed them, most recently followed first, 100 at a time But the results are different. Where as friends/ids call is returning the list as mentioned in documentation. Well i can use this list and get screen names for each id, but it is expensive as the system is a mobile app and performance is critical. Please let me know if this is a know issue or is there any thing more i need to do to get the statuses/friends as mentioned in documentation. Thanks, Srikanth
Re: [twitter-dev] Re: Retweet API methods returning 404
Looks like RT is back up. Tom On Thu, Dec 17, 2009 at 3:39 PM, cadams500 ch...@emaildatasource.comwrote: Yes, I'm getting 404 errors as well. This was not happening yesterday. http://twitter.com/statuses/show/5211439124.xml does not return a 404 http://api.twitter.com/1/statuses/retweets/5211439124.json returns a 404 So, obviously the status is there, but the retweet api isn't working; or maybe they have started returning 404s if there aren't retweets available for a status? On Dec 17, 6:05 am, Dimebrain daniel.cre...@gmail.com wrote: The following retweet methods have started returning 404's in our unit testes: http://api.twitter.com/1/statuses/retweeted_by_me.jsonhttp://api.twitter.com/1/statuses/retweeted_to_me.jsonhttp://api.twitter.com/1/statuses/retweets_of_me.jsonhttp://api.twitter.com/1/statuses/retweets/[any_status_id].json Anyone else having this issue, or know what happened to these API methods?
Re: [twitter-dev] Re: statuses/followers incorrectly ordered
Hi Wilhelm, Thanks for the follow up, The Twitter web site is still showing followers in the correct order - is this not something that can be extended to the API, and if not, why the disconnect? Thanks, Tom On Wed, Dec 2, 2009 at 7:32 PM, Wilhelm Bierbaum wilh...@twitter.comwrote: Your observations are correct. Ordering cannot be guaranteed because of the way we store the graph. I'll make sure that we update the documentation to reflect this fact. On Dec 2, 7:45 am, tom tswool...@gmail.com wrote: Hi All, We've recently seen a change in the ordering of the users that the statuses/followers method returns - according to the docs, this method should be returning the users in this order: They are ordered by the order in which they followed the user. However, they now appear essentially unordered - doing a simple curl call shows that we're not even getting the latest 100 users back. This is causing some problems in our app as we depend on the ordering being as documented. Has anyone else noticed this? Can anyone from Twitter confirm? Thanks, Tom
[twitter-dev] Re: Streaming API -- Be tolerant of retweet annotation
I noticed that the retweet api still says coming soon. It is available yet for general consumption or do I have to have my developer API key approved for use? thanks, -k On Wed, Sep 9, 2009 at 10:56 AM, John Kalucki jkalu...@gmail.com wrote: Once the retweet feature is launched, some statuses flowing through all /1/statuses resources in the Streaming API will be annotated as retweets. Clients using reasonable JSON and XML parsers shouldn't require a change. Clients using brittle parsers, or those not projecting result fields, but instead using some sort of all field parsing, may wish to test their stack with synthetic retweets. The new fields are described here: http://apiwiki.twitter.com/Twitter-REST-API-Method:-statuses-retweet. Follow the usual sources for announcements on the actual date of retweet general availability. I'd expect the launch date to be a few weeks or so away. We're taking precautions to prevent retweets from leaking into the Streaming API in advance of this full launch, but the prudent mariner prepares for the unexpected. -John Kalucki http://twitter.com/jkalucki Services, Twitter Inc.
[twitter-dev] Re: IP Whitelisting rejected - ****** NO REASON ******
Hi Yonas, Please search the group before posting - this question has been answered many times. I believe that Twitter are currently having problems with that email, but you can get an answer by mailing a...@twitter.com. Tom On Fri, Nov 13, 2009 at 2:05 PM, Yonas yona...@gmail.com wrote: My request for IP whitelisting was rejected without any reason being given: Thanks for requesting to be on Twitter's API whitelist. Unfortunately, we've rejected your request. Here's why: Please address the issues above and submit another request if appropriate. The Twitter API Team Can someone from Twitter please help me whitelist my IPs. Thanks! Cheers, Yonas
[twitter-dev] Re: C# + OAuth + account/update_profile_image = 500 Internal Server Error
You can use TwitterVB which covers nearly the complete API in .NET (OAuth included). U find it on codeplex http://twittervb.codeplex.com/ Cheers, Thomas Nicholas Granado schrieb: Simon, You would sign the request with all of the usual oauth param suspects. If I recall correctly this endpoint has no other params other than the 'image' param in the multi-part post body whose value would be the bytes of the image file. Typically I've only seen the post params passed into the oauth signing rigmarole when the post body is urlencoded. I hope this helps, this whole OAuth thing can be very confusing at first glance. If you are in C# I have my own lib for twitter basic auth/oauth that I've baked up, if you like I could pass you the bits. Nicholas --- Nicholas Granado email: ngran...@gmail.com mailto:ngran...@gmail.com twitter: heatxsink web:http://nickgranado.com On Mon, Oct 19, 2009 at 6:38 AM, Zaudio si...@z-audio.co.uk mailto:si...@z-audio.co.uk wrote: Nicholas, That's great feedback! In you opinion, how do I then sign the request? Do I use all the usual for the signaturebase... ie postmethodurlnonceetc etc or just postmethodurl as David suggested? I trust that the image data does not come into the signing process, and that I still can post the data using iso-8859-1 encoding as I would normally do for uploading files? If you have these answers, then I should be able to nail this for our .net case.Oauth's been working great for us until this hitch... Thanks Simon On Oct 18, 6:11 pm, Nicholas Granado ngran...@gmail.com mailto:ngran...@gmail.com wrote: Simon, I believe the body of your post might be incorrect. It should look like this: POST /account/update_profile_image.xml HTTP/1.1 Content-Type: multipart/form-data; boundary=8cbed79c91b24f3 Host: twitter.com http://twitter.com Content-Length: 3863(this will probably change now..) --8cbed79c91b24f3 Content-Disposition: form-data; name=image; filename=test.jpg Content-Type: image/jpeg (there's a few K of binary data here, the contents of the file) --8cbed79c91b24f3 The rest of the OAuth variables should be passed on the query string. I hope this helps. Cheers, Nicholas --- Nicholas Granado email: ngran...@gmail.com mailto:ngran...@gmail.com twitter: heatxsink web:http://nickgranado.com On Sun, Oct 18, 2009 at 2:42 PM, Zaudio si...@z-audio.co.uk mailto:si...@z-audio.co.uk wrote: Hi David, I found your excellent post hoping that it would solve the same challenge for my app: updating profile image via Oauth... using similar .net base to yourself... BUT I just get the 401 all the time... despite taking your advice to just sign with the HTTPmethod URL My post data is laid out much like yours... though I never got that 500 error... I've tried all sorts... dropping the off the end different encodings... What encoding did you use to encode your image, and then to post the request? Does it still work for you... or did this get broken when Twitter 'fixed' their Oauth implementation? Can anyone else advise if they have got this working and where I might be going wrong? Thanks Simon (Zaudio) On Aug 19, 11:40 pm, David Carson carson63...@gmail.com mailto:carson63...@gmail.com wrote: Got this sorted out and working, and thought I should share the two pitfalls which were causing me problems. First of all, unbelievably, the 500 Internal Server Error was being caused by an extra carriage return between my last HTTP header and the first multipart boundary. Seriously. I had two blank lines in there instead of one. Removed the extra carriage return, and my 500 vanished, being replaced by a more reasonable (401) Unauthorized - Incorrect signature error. Secondly, the OAuth documentation seems a bit shaky when it comes to multipart/form-data POSTs. But basically, you do NOT use any of the POST parameters when creating your signature. And this includes all of the OAuth-specific parameters like oauth_consumer_key, oauth_signature_method, etc. Bit of a security hole imho, OAuth implements all this complexity to avoid man-in-the-middle or replay attacks, and as soon as you do a multipart POST it's all negated. So, my signature base was literally: POSThttp%3A%2F%2Ftwitter.com
[twitter-dev] Re: Laying the foundation for API versioning
Hi John, I'm still getting SSL issues with api.twitter.com - it seems like some attempts get the wildcard certificate, some get the old one. This is using Chrome and AIR. Let me know if you need any more information, Tom On Fri, Oct 16, 2009 at 11:14 AM, Rich rhyl...@gmail.com wrote: Hi John, I replied directly to you, but didn't realise it was also sent to the dev list. Basically it seems to have gone now as I see the cert is a wildcard one, this morning both the iPhone and Firefox were complaining that the cert was for twitter.com and not api.twitter.com Richard On Oct 16, 11:04 am, John Adams j...@twitter.com wrote: Could you let us know what errors you are seeing via SSL on api.twitter.com? I'd like to investigate. I do not see any SSL errors under Firefox and/or Safari on 10.5 nor 10.6. -j On Oct 16, 2009, at 1:00 AM, Marcel Molina wrote: I've alerted our ops team. Thanks for the heads up. On Fri, Oct 16, 2009 at 12:56 AM, Rich rhyl...@gmail.com wrote: I did notice though that api.twitter.com doesn't have a valid SSL certificate so any clients using the API over SSL will error out too. On Oct 16, 8:49 am, Marcel Molina mar...@twitter.com wrote: The OAuth endpoints aren't strictly speaking part of the REST API. http://api.twitter.com/oauth/authorizeandfamily works at the api subdomain, but those paths aren't versioned (though maybe they should be...). As for search...one step at a time ;-) But thanks for noticing. On Fri, Oct 16, 2009 at 12:46 AM, Rich rhyl...@gmail.com wrote: Great news guys, I noticed that the search and oauth API's aren't in the version one API stream though. Is this intentional? -- Marcel Molina Twitter Platform Teamhttp://twitter.com/noradio -- Marcel Molina Twitter Platform Team http://twitter.com/noradio -- John Adams Twitter Operations j...@twitter.com Follow me: @netik
[twitter-dev] Re: Tweets Dataset for academia?
Hi Atul, There is a fairly significant corpus of tweets available, although it is fairly old - see here: http://www.mail-archive.com/twitter-development-talk@googlegroups.com/msg05715.html. I believe that the second part has expired, but you should be unable to use the first part - it is several million tweets worth. All the best, Tom On Wed, Oct 14, 2009 at 5:55 PM, Atul Kulkarni atulskulka...@gmail.comwrote: Thanks, John. I am not only looking at hash tags, but also other things that go along with tweets. I will keep in mind. I was actually curious about Twitter's policy on this. What is there take on releasing a certain dataset of say some random X number of users. Is it violation of any of their policy or their agreement with the users. Regards, Atul. On Wed, Oct 14, 2009 at 11:43 AM, JOHN OBRIEN john.obr...@twangu.comwrote: Many people in academia / research have used TwapperKeeper service to capture tweets of interest (that are tagged) and export for analysis. Let me know if you have any questions. v/r, John http://TwapperKeeper.com jobr...@ob3solutions.com @jobrieniii On Oct 14, 2009, at 12:39 PM, Atul Kulkarni wrote: Hi All, I am curious if there is any Twitter data set already available for research or academia? If it is already not there then can one crawl through the users and build one and release it to the research community without any charge? What would be Twitter's official policy on this? I am sure there will be a lot of interest in academia from the Linguistics perspective and Machine Learning perspective. These questions are just out of curiosity and feasibility study types. -- Regards, Atul Kulkarni www.d.umn.edu/~kulka053 http://www.d.umn.edu/%7Ekulka053 -- Regards, Atul Kulkarni www.d.umn.edu/~kulka053 http://www.d.umn.edu/%7Ekulka053
[twitter-dev] Re: AutoHashTags
do you ever get relevent information ,tech,,etc, from twitter,I have noticed some REALLY bad suggestions from subscribers./s/ tomMSCE On Mon, Oct 12, 2009 at 9:44 AM, Nigel Cannings nigelcanni...@googlemail.com wrote: Some testing help required for anyone interested. The theory is automatic tagging of your Twitter feed via a series of hash tags placed into your feed about every 20 tweets. The service takes literal tags and non-literal themes into account to try to give a more rounded feel of what's in your feed, and using hashtags, let others know too. There's also a little trending graph that can be adjusted by time and sensitivity (and which will probably break if it is put to too much use!) http://tags.linkky.com - If it breaks, let me know, and I'll try to fix it...
[twitter-dev] Re: List of all accounts
why---so you can send them back to tehran On Mon, Oct 12, 2009 at 3:02 PM, Atul Kulkarni atulskulka...@gmail.comwrote: Is there anyway of obtaining this list (list of all active users on Twitter) ? or a BFS through friends and followers is the only way out of finding most if not all users. -- Regards, Atul Kulkarni www.d.umn.edu/~kulka053
[twitter-dev] Re: Have you read the OneForty.com Developer Contract?
Henry the VIII HAD IT RIGHT,The first thing i am going to do is kill all the lawwyers On Sat, Oct 10, 2009 at 10:25 AM, Duane Roelands duane.roela...@gmail.comwrote: No, no, a thousand times no. Licensor further warrants to oneforty and its Customers and Sublicensees that the Licensed Item shall be free from defects in workmanship or design Does OneForty understand that the licensed item is -software- and that software often contains bugs? Who determines what a defect in design is? OneForty? Me? Their lawyers? Licensor further warrants to oneforty and its Customers and Sublicensees that the Licensed Item shall not contain any information or content of whatever nature that is defamatory, obscene, indecent, pornographic, seditious, offensive, threatening, liable to incite racial hatred, blasphemous... Blasphemous? Really? So if my code includes a comment that states I can't make this goddamn thing work, I'm violation of the contract. Offensive? To whom? Licensor shall maintain reasonable insurance Insurance? I need to maintain insurance to claim my free, open-source Twitter client in OneForty's directory? Licensor agrees that it will not use “oneforty”, “oneforty.com” or any other trademark held by oneforty in keyword meta tags or any pages of Licensor’s website or any website(s) owned or operated by Licensor. So, I can't have a link on my page that says Check us out on OneForty! or We're listed on OneForty! or Post a review on OneForty! Laura from OneForty has the best intentions, and I really believe that she wants to produce a developer-friendly community where everyone reaps benefits. That's great, and I applaud her for her efforts to make this work. This agreement (and the noxious one that preceded it) give me the impression that OneForty's lawyers have a fundamental ignorance of software, software development, and the internet in general.
[twitter-dev] Re: where will we be next year
where will twitter be in one year? On Sat, Oct 10, 2009 at 12:44 AM, Michael Steuer mste...@gmail.com wrote: Is there a development question here? On Oct 9, 2009, at 7:16 PM, tom tomros0...@gmail.com wrote: With the 2010 elections coming soon,and an angry electorate I can see twitter playing an unheard of influence on these elections.. as i see it the tasks will be KEEP IT ACCURATE,keep it brief,and keep it relevant The pols are allready sitting up and taking notice, NOTE;;the 18 to 30 year old electors COULD CONTROL EVERY ELECTION, if they chose to vote
[twitter-dev] Re: about OAuth
the only way to find out is to do it On Sat, Oct 10, 2009 at 2:05 PM, Oguzhan asp...@gmail.com wrote: Hi Folks, I'm using OAuth in my twitter application and I was wondering something. Have received the user's permission by OAuth. I saved my database oauth_token after for example one day later. Can I update twitter status with my saved oauth_token?
[twitter-dev] removal from your site
please remove my name and all other pertinent information from your site, thank you /s/thomas cavanaugh
[twitter-dev] Re: Ignoring OAuth application authorization page once causes following pages not be able to load up
windows 98 and above 1 reboot 2 opencomputer go to storage drives click on properities., click on defrag or clear button defrag or clear NONESSENTIALS FROM THAT DRIVE.,reboot again if this doesnt solve the problem consult microsoft especially if it is windows vista operating system .there is an internal conflict between downloaded soft ware on your unit probably conflicting security programs.,, be patient let me know how you make out t. On Wed, Oct 7, 2009 at 12:38 PM, Panu Tangchalermkul pan...@gmail.comwrote: I have tested this on 2 Twitter OAuth demo site, http://twitteroauth.appspot.com/ http://fourmargins.com/labs/twitter_oauth/ by using Firefox 3.5 and Internet Explorer 8 on Windows Vista 32bit Every time after I ignore (close without any action on the page) Twitter OAuth application authorization page (the page that has Allow and Deny button), I cannot load any page that using Twitter OAuth API including Twitter own login system. To describe in step-by-step, I open one of the above OAuth demo website, click on the link that will give the application an access to my twitter account, a browser redirect me to twitter page that require me to choose Allow or Deny, I choose to ignore it and close that page. Then I regret my action and try to open it again, I have encountered The connection was reset on Firefox 3.5 and Internet Explorer cannot display the webpage on IE, after I have clicked the same link. I don't know why but it seems deleting all cookies is an only resolution. This is reproducible every times on my machine. OAuth BUG?
[twitter-dev] Re: Ignoring OAuth application authorization page once causes following pages not be able to load up
your hunch appears right;;there is an undisclosed network(s) problem that so far the powers to be are reluctant?? to publish On Wed, Oct 7, 2009 at 11:11 PM, Panu Tangchalermkul pan...@gmail.comwrote: Thanks for all the follow up, guys. I tested this scenario on several machine in my home after I posted the above question, and it's weird that ALL experiencing the same thing. I tested it on 1 Windows XP PC, 1 Windows XP laptop, 1 Windows XP virtual machine. On both Firefox and IE. Now I can't think of anything but a network problem, but how is it possible? On Oct 8, 5:17 am, stephane stephane.philipa...@gmail.com wrote: The problem I usually (systematically in fact) encounter is that if 1 / I start a oauth process (go to the oauth login page on twitter) from a 3rd party app (say myoauthapp) 2 / I don't click neither accept nor deny and just close the window (or tab), - when I sign-in on twitter, instead of being forwarded to my home_timeline, I'm brought to the Oauth accept page for the 3rd party app myoauthapp. I think this (buggy) behavior has already been reported on this group several weeks ago Stephane @sphilipakishttp://twazzup.com On Oct 7, 9:59 pm, Michael Steuer mste...@gmail.com wrote: I¹m not angry. This is however a mailing list about Twitter development, and Panu is posing what seems like a legitimate question relating to Twitter development. Sending SPAM as original messages as one thing and would be ignored by everyone, sending spam in response to legitimate questions/threads is another, and probably especially frustrating for the person trying to get an answer to a question, in this case Panu. Anyway, just my 2 cents. Panu I tried to reproduce that issue on my machine, but wasn¹t able too. Perhaps someone else can weigh in with a response that¹s not about disk defragmentation ;) On 10/7/09 12:39 PM, JDG ghil...@gmail.com wrote: it didn't waste a ms of my time. it only wasted your time by responding. why do people get so angry about things they see on the internet? it's the easiest thing on the planet to ignore. On Wed, Oct 7, 2009 at 13:17, Michael Steuer mste...@gmail.com wrote: Is this a joke? Why waste 100s of people¹s time?! On 10/7/09 10:10 AM, thomas cavanaugh tomros0...@gmail.com http://tomros0...@gmail.com wrote: windows 98 and above 1 reboot 2 opencomputer go to storage drives click on properities., click on defrag or clear button defrag or clear NONESSENTIALS FROM THAT DRIVE.,reboot again if this doesnt solve the problem consult microsoft especially if it is windows vista operating system .there is an internal conflict between downloaded soft ware on your unit probably conflicting security programs.,, be patient let me know how you make out t. On Wed, Oct 7, 2009 at 12:38 PM, Panu Tangchalermkul pan...@gmail.com http://pan...@gmail.com wrote: I have tested this on 2 Twitter OAuth demo site, http://twitteroauth.appspot.com/ http://fourmargins.com/labs/twitter_oauth/ by using Firefox 3.5 and Internet Explorer 8 on Windows Vista 32bit Every time after I ignore (close without any action on the page) Twitter OAuth application authorization page (the page that has Allow and Deny button), I cannot load any page that using Twitter OAuth API including Twitter own login system. To describe in step-by-step, I open one of the above OAuth demo website, click on the link that will give the application an access to my twitter account, a browser redirect me to twitter page that require me to choose Allow or Deny, I choose to ignore it and close that page. Then I regret my action and try to open it again, I have encountered The connection was reset on Firefox 3.5 and Internet Explorer cannot display the webpage on IE, after I have clicked the same link. I don't know why but it seems deleting all cookies is an only resolution. This is reproducible every times on my machine. OAuth BUG?
[twitter-dev] Re: How to check if user is followed?
I only can talk for .NET - A Dictionary(of Long, Boolean) with 5000 Id's needs around 500 Ticks If I request the Method .ContainsKey. I don't think that an API Request with parsing xml can be faster. Additional you nail the server with unneeded requests which are expensive (rate limits) too I don't know your Applicaton but you'll handle all accounts at the same time? Normaly if an user authenticates the first calls could be to request the ID Lists and store them during this users sessiontime. If a user leaves you can free this memory. On 5 Okt., 12:03, twittme_mobi nlupa...@googlemail.com wrote: Hi Tomas, another question to collaborate, do you think that is faster to find the ID in array by iterating it rather that searching for a string in the XML with some well known search function On Oct 5, 10:54 am, twittme_mobi nlupa...@googlemail.com wrote: Hi Tomas, Thanks for the clarification. One question - if you have many users, you will need to load all the IDs for All the users in the memory - isn't that too heavy?some of the users have 10+ followers. Thanks. On Oct 4, 6:26 pm, Thomas Hübner thueb...@gmx.de wrote: the problem is that a friendship exist is an expensive API Call (of 150 possible per hr) I do not know what kind of Application you plan but for my client App I load the ID's of followers with one API call and keep this list in memory. If a status become loaded I compare the icluded UserID with the list and switch the menues depending on containing this ID or not. This is much faster then request the API each time. Only situation which is not working for are search calls because the delivered result (ATOM) does not contain any userID which is a fail twittme_mobi schrieb: Hi Tomas, thanks for the reply! the social graph methods are too heavy for such a simple operation. I have to check if user is followed every time that a profile is visited so i would now where to put Follow or Unfollow button.It is not reasonable to execute the social graph methods every time, because sometimes users might have thousands of followers.Isn't it the friendship/exists method that needs to be fixed, after all, it is just for checking if user is followed or not.. Thanks!Your opinion is welcome! On Oct 3, 2:20 pm, Thomas Hübner thueb...@gmx.de wrote: you have the social graph methods which deliver ID's. Unfortunately the same API call for screennames is missed - so you never can make comparings with search API results because there is no userID in. friends/ids followers/ids cheers, Thomas twittme_mobi schrieb: Hi guys, i tried friendship/exists but it throws an error when the user is protected.How should i accomplish this task with the API? signature.asc 1KViewDownload signature.asc 1KViewDownload
[twitter-dev] Re: How to check if user is followed?
the problem is that a friendship exist is an expensive API Call (of 150 possible per hr) I do not know what kind of Application you plan but for my client App I load the ID's of followers with one API call and keep this list in memory. If a status become loaded I compare the icluded UserID with the list and switch the menues depending on containing this ID or not. This is much faster then request the API each time. Only situation which is not working for are search calls because the delivered result (ATOM) does not contain any userID which is a fail twittme_mobi schrieb: Hi Tomas, thanks for the reply! the social graph methods are too heavy for such a simple operation. I have to check if user is followed every time that a profile is visited so i would now where to put Follow or Unfollow button.It is not reasonable to execute the social graph methods every time, because sometimes users might have thousands of followers.Isn't it the friendship/exists method that needs to be fixed, after all, it is just for checking if user is followed or not.. Thanks!Your opinion is welcome! On Oct 3, 2:20 pm, Thomas Hübner thueb...@gmx.de wrote: you have the social graph methods which deliver ID's. Unfortunately the same API call for screennames is missed - so you never can make comparings with search API results because there is no userID in. friends/ids followers/ids cheers, Thomas twittme_mobi schrieb: Hi guys, i tried friendship/exists but it throws an error when the user is protected.How should i accomplish this task with the API? signature.asc 1KViewDownload signature.asc Description: OpenPGP digital signature
[twitter-dev] Re: Return number of pages (or number of friends/followers) on first call with cursor
the Number of ID's is the number of followers you also can call http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-users%C2%A0show first. Within the result you have followers_count1031/followers_count friends_count293/friends_count however - you have to do an additional API call if you don't trust the pagewise calls Jesse Stay schrieb: Thomas, I don't see where it gives you the expected number of users. Originally I thought Alex said that was going to be part of it, but not seeing it in the docs. I only see ids, next_cursor, and previous_cursor. On Sun, Oct 4, 2009 at 8:36 AM, Thomas Hübner thueb...@gmx.de mailto:thueb...@gmx.de wrote: You can use the socialGraph method before: http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-friends%C2%A0ids If you have this you have the expected number of users. Jesse Stay schrieb: I was wondering if it might be possible to include, at least in the first page, but if it's easier it could be on all pages, either a total expected number of followers/friends, or a total expected number of returned pages when the cursor parameter is provided for friends/ids and followers/ids? I'm assuming since you're moving to the cursor-based approach you ought to be able to accurately count this now since it's a snapshot of the data at that time. The reason I think that would be useful is that occasionally Twitter goes down or introduces code that could break this. This would enable us to be absolutely sure we've hit the end of the entire set. I guess another approach could also be to just list the last expected cursor ID in the set so we can be looking for that. Thanks, Jesse signature.asc Description: OpenPGP digital signature
[twitter-dev] Social Graph Methods followers/names ?
Hi All, would it be possible to get an additional API function which delivers the screennames instead of ID's? The reason is, I work on a Client App in .NET On Startup I load the followers, friends and blocked ID's. I use this to show the status then in my application and enable/ disable the menus with follow/ unfollw DM and so on. So I save expensive API calls (follow someone which I already follow) which ends in API Errors. So far so good. Now I try to implement the search API. This delivers me ATOM XML back. I Try to fill my status object and included User object with the less informations in delivered ATOM to show it in the same Quality like a User Timeline. Unfortunately the only thing I have in ATOM result is the screenname combined with username in one tag. No Problem I resolve that with RegEx. What urgently is missed is the user ID to compare it with the followers and friend list of ID's Now 2 solutions are possible: 1) adding the userID in the search results 2) offer an API call within social graph methods which delivers screennames In case of 2) I could use the unique screenname as Key. This would be a disadvantage because of searchroutines work always slower on string. Better soulution would be to delivers the userID within the searchresults. Is there any way to realize this? I do not think that I'm the only one ho miss this. Best regards, Thomas
[twitter-dev] Re: Twitter Client App Not Posting
If smthg. goes wrong you get an error back - in this very small XML Error document you have a XML node error. You should log the error and post it here On 29 Sep., 17:16, akademicjeanius enkwiringmi...@gmail.com wrote: Hello, I have a Twitter app that posts updates to Twitter every 5 minutes (274 times per day). About 8 times a day, the posts get rejected for some reason. I was wondering if this is a known problem with the Twitter API or more likely something to do with my app.
[twitter-dev] Re: Posting App name for posts
You have to register your App @ Twitter and user OAuth. If you use ASP.NET you maybe can use the TwitterVB Project (DLL) It includes the full OAuth Support. c_mcintosh schrieb: I have a site posting updates to twitter using the api. I can either have it say API or it says 'From Web', I am looking at getting my site url in the From... part of the post information. I have tried setting the source parameter to a href tag, the url to the site, and just a site name and all return From Web. Any ideas would be appreciated. signature.asc Description: OpenPGP digital signature
[twitter-dev] Re: Social Graph Methods followers/names ?
I would see this as second coice - userID in searchresults would be the better choice because a numeric comparing is in each case faster then string comparing Best would be to get both. From side of server (Database request) both things should be not to tricky to make. cheers, Thomas Nelu Lazar schrieb: I subscribe to this request. Usernames in social graph methods' responses could be useful for many other implementations. @NeluLazar Tweetvisor.com On Sep 29, 7:22 am, Thomas Hübner thueb...@gmx.de wrote: Hi All, would it be possible to get an additional API function which delivers the screennames instead of ID's? The reason is, I work on a Client App in .NET On Startup I load the followers, friends and blocked ID's. I use this to show the status then in my application and enable/ disable the menus with follow/ unfollw DM and so on. So I save expensive API calls (follow someone which I already follow) which ends in API Errors. So far so good. Now I try to implement the search API. This delivers me ATOM XML back. I Try to fill my status object and included User object with the less informations in delivered ATOM to show it in the same Quality like a User Timeline. Unfortunately the only thing I have in ATOM result is the screenname combined with username in one tag. No Problem I resolve that with RegEx. What urgently is missed is the user ID to compare it with the followers and friend list of ID's Now 2 solutions are possible: 1) adding the userID in the search results 2) offer an API call within social graph methods which delivers screennames In case of 2) I could use the unique screenname as Key. This would be a disadvantage because of searchroutines work always slower on string. Better soulution would be to delivers the userID within the searchresults. Is there any way to realize this? I do not think that I'm the only one ho miss this. Best regards, Thomas signature.asc Description: OpenPGP digital signature
[twitter-dev] Twitter for Motorcycle Riders
Hi there. I am a motorcycle freak and would like to know if there is a possibility to use twitter to improve motorcycle riding, e.g. Ø finding out where the police is hiding to catch you for speeding Ø finding out about the best motorcycle streets / routes Ø finding out about the best overnight stays / hotels for riders Ø finding out about the best food on the road Ø finding out about other riders in my area Could I help realize this with you? Best regards, Thomas Thomas Hirschmann http://maps.google.de/maps?f=qsource=s_qhl=degeocode=q=Clemensstr.+81+M uenchensll=51.151786,10.415039sspn=21.197099,56.953125ie=UTF8ll=48.16608 5,11.557617spn=22.506187,56.953125z=5iwloc=A Clemensstr. 81, 80796 München Tel.: +49 (0)89 - 201 857 42 Fax: +49 (0)3212 - 10 46 952 Mobil: +49 (0)151-284 16 195 E-Mail: thomas.hirschm...@gmail.com Web: www.thomashirschmann.de Skype: thomas_hirschmann http://www.skype.com/
[twitter-dev] Re: Are there ANY advantage of using OAuth with client softwares?
Another advantage is that if a third party application's database is breached, all of the stored usernames and passwords would be exposed. If the third party application was using oauth, the access token and secret pairs are only useable if the consumer key/secret pair are found and these can be easily reset. On May 18, 2:56 pm, Adam Ness adam.n...@gmail.com wrote: The advantage to the end user of oAuth is that the client application doesn't need the user's password anymore, the user's passwords are exchanged ONLY with twitter, and cannot be sniffed/stored/whatever by the client application. There is a very strong security advantage. On Mon, May 18, 2009 at 7:30 AM, H.Hiro(Maraigue) marai...@mail.goo.ne.jpwrote: Hello, I COULD NOT UNDERSTAND why Twitter so much encourages OAuth, in spite of costing API users. I read the section What Does OAuth Give Me? (a.k.a. Why Bother?) of this article: http://apiwiki.twitter.com/OAuth+Example+-+Ruby, but I could not find what is the advantage of using OAuth *for client- software makers* . Client softwares must know end-users'(i.e. account holders') login names and passwords, so I think there aren't more advantage of using OAuth than basic-auth.
[twitter-dev] Why is http://twitter.com/statuses/followers/... restricted, but /friends/... not?
I run a site which tracks who's added a user to their friendslist on LiveJournal (and allows you to draw charts and graphs of the information when it's gathered over time). Two of my users in the last week have asked whether it's possible to extend it to track who's following them on Twitter. Here's the problem, though: the useful information to track in this case is in .../statuses/followers/username.format, because people know who they've started and stopped following, but they want to keep a list of who starts and stops following them. However, this is restricted only to people who authenticate as that user. Why is this, when .../statuses/friends/username.format is public information? Is this ever likely to change? (I suppose I could solve their problem by basically turning the site into a Twitter client and allowing each of them to store login information for their Twitter account, but it seems a rather baroque solution.) Thomas