Re: [twitter-dev] dev.twitter.com
Heads up: I just tried editing my application through the dev.twitter.com interface. It doesn't have a user-editable setting for read-write / read-only, and hence it took read-only as the default! It was originally read-write. Had to go back to the old interface and turn it back on. On Thu, Apr 15, 2010 at 2:57 AM, Dewald Pretorius dpr...@gmail.com wrote: Okay, this seriously rocks. Congrats to everyone who worked on making dev.twitter.com happen. -- To unsubscribe, reply using remove me as the subject. -- Harshad RJ http://hrj.wikidot.com
Re: [twitter-dev] Re: Annotation details
- Jud jvale...@gmail.com wrote: On Apr 14, 5:05 pm, James Teters jtet...@gmail.com wrote: Any ideas on size limitations or restrictions for this meta data? good question; I have the same one. simple math based on average tweet status byte size (of status structure coming through the streaming or REST interface) tells us that it wouldn't take much being jammed into the annotation's field to double that size. what status size increase is Twitter's infrastructure ready/willing to tolerate? it seems to me that a few things are NOT candidates for the annotations field(s): - void * (for you old schoolers on the list) - media who's original native format is binary (e.g. photos/videos) annotations will need limitations like: - overall size - if key/value pairs become the model... they'll need individual size limitations (for name and value) - max number of pairs - etc. the whole thing feels driven by the answer to the original size question. another question would be whether or not the tweet originator can remove annotations that others put on their tweet? I'd assume that I'd have control over my original tweet in that manner (e.g. notes functionality on Flickr) -- To unsubscribe, reply using remove me as the subject. In addition to size constraints, I'd like to *strongly* suggest that wherever possible, annotations use *existing* open standards! Please, let's not reinvent the semantic web, even if we can. ;-)
Re: [twitter-dev] Infochimps Datasets available for Hack Day: drawn from 1.6B tweets, 40M+ users+reputation, ~0.5B reply links, more!
- Philip (flip) Kromer f...@infochimps.org wrote: Hi all, I'm pleased to announce that Infochimps is making datasets from our massive scrape of the Twitter corpus available for Chirp Hack day devs. There's a big opportunity for apps that draw on the historical record and *structure* of twitter -- apps that require a global perspective and intense computation. The following are available to mash up against other datasets from infochimps.org or even just to bootstrap-seed the database for your Hack Day application. We also have a 30-machine cluster up to do further extractions, so if you have something really interesting you'd like to pull please let me know. Reputation Metrics from Reply and Follow graph s Uses algorithm similar to pagerank to derive reputation, one using the a_follows_b graph and one using the a_replies_b graphs Reply/retweet/mention graph Every observed Reply, retweet, or mention seen in a 1.6B-tweet sample (about 15% of historical record): a_[rel]_b, user_a_id, user_b_id, tweet_id Twitter Users by Background Color The number of users with each background color: color code, user count Twitter Users by Friends Count The number of users with a given number of friends: number of friends, user count Twitter Users by Followers Count The number of users with a given number of followers: number of followers, user count Twitter Users by Created At The number of users whose accounts were created in a given month/day/hour along with the earliest seen ID in that hour: timestamp to month/day/hour, user count Smileys Smiley faces with user, date, tweet_id Hashtags Hashtags with user, date, tweet_id TweetUrl URLs with user, date, tweet_id Twitter Users by Location The number of users in a location string (as provided by the user in their profile). location, user count Stock Tweets Tweets that include the stock symbol tag convention of $STOCKNAME or $$. The tweet is listed for each time a tag is used in the tweet. stock_tweet (resource name), symbol captured, tweet object (all things in a tweet) Stock Prices Daily stock prices for the NASDAQ, NYSE, AMEX exchanges 1970-now symbol, open, low, close, high, volume Parameters for what's available: raw object size number of objs a_follows_b 45.8 GB 1,587,838,568 a_mentions_b 29.5 GB 493,682,309 a_retweets_b 1.6 GB 36,022,061 twitter_user 3.1 GB 43,261,388 tweets 376.0 GB 1,641,624,381 hashtag 7.1 GB 139,916,844 smiley 4.4 GB 99,272,082 tweet_url 29.5 GB 433,278,116 If you'd like access to any of these, or have an idea that needs something /not/ here, please let me know ( f...@infochimps.org ). We're only opening access to Hack Day devs for now -- but please let us know your ideas so we can show twitter how much demand there is for aggregated access to data. best, flip @mrflip 512-659-6846 http://infochimps.org Find any dataset in the world This is too short notice for me to be able to come up with a use for these data. But for the future, do you by any chance have access to *intraday futures and options* time series? Daily stock data are more or less useless. -- To unsubscribe, reply using remove me as the subject.
Re: [twitter-dev] dev.twitter.com
thanks for the bug report - we'll look into it for the first round of fixes. On Wed, Apr 14, 2010 at 11:17 PM, Harshad RJ harshad...@gmail.com wrote: Heads up: I just tried editing my application through the dev.twitter.com interface. It doesn't have a user-editable setting for read-write / read-only, and hence it took read-only as the default! It was originally read-write. Had to go back to the old interface and turn it back on. On Thu, Apr 15, 2010 at 2:57 AM, Dewald Pretorius dpr...@gmail.comwrote: Okay, this seriously rocks. Congrats to everyone who worked on making dev.twitter.com happen. -- To unsubscribe, reply using remove me as the subject. -- Harshad RJ http://hrj.wikidot.com -- Raffi Krikorian Twitter Platform Team http://twitter.com/raffi
Re: [twitter-dev] Re: Annotation details
please feel free to point us to standards that you would like us to consider. we are really attempting to make this insanely simple by literally just having a triple of items to store (namespace, key, value) -- so, we are just really talking about representation, i assume. On Thu, Apr 15, 2010 at 12:09 AM, zn...@comcast.net wrote: - Jud jvale...@gmail.com wrote: On Apr 14, 5:05 pm, James Teters jtet...@gmail.com wrote: Any ideas on size limitations or restrictions for this meta data? good question; I have the same one. simple math based on average tweet status byte size (of status structure coming through the streaming or REST interface) tells us that it wouldn't take much being jammed into the annotation's field to double that size. what status size increase is Twitter's infrastructure ready/willing to tolerate? it seems to me that a few things are NOT candidates for the annotations field(s): - void * (for you old schoolers on the list) - media who's original native format is binary (e.g. photos/videos) annotations will need limitations like: - overall size - if key/value pairs become the model... they'll need individual size limitations (for name and value) - max number of pairs - etc. the whole thing feels driven by the answer to the original size question. another question would be whether or not the tweet originator can remove annotations that others put on their tweet? I'd assume that I'd have control over my original tweet in that manner (e.g. notes functionality on Flickr) -- To unsubscribe, reply using remove me as the subject. In addition to size constraints, I'd like to *strongly* suggest that wherever possible, annotations use *existing* open standards! Please, let's not reinvent the semantic web, even if we can. ;-) -- Raffi Krikorian Twitter Platform Team http://twitter.com/raffi
Re: [twitter-dev] Hovercards with blogger.js?
Example shows how to use hovercard in an HTML page. Is there a way to call from a javascript.js file? If so, what is best approach for supporting both HTML and javascript.js of same application when using @Anywhere? On Thu, Apr 15, 2010 at 11:34 AM, Abraham Williams 4bra...@gmail.com wrote: Anywhere ignores already linked screen_names. Abraham On Thu, Apr 15, 2010 at 02:25, Jonah Grant grantjo...@gmail.com wrote: I'm using the blogger.js script on my site to display my latest tweets, but the usernames are hrefs, and @anywhere doesn't seem to recognize them and add a hovercard for them (it works on the rest of my site) -- Abraham Williams | Developer for hire | http://abrah.am PoseurTech Labs | Projects | http://labs.poseurtech.com This email is: [ ] shareable [x] ask first [ ] private. -- To unsubscribe, reply using remove me as the subject.
[twitter-dev] Re: Annotation details
Will annotations be indexed and searchable? Will I be able to search for all tweets with a certain annotation namespace, or namespace:key? I think this would be key to truly creating agreeable standards for metadata that can be utilized by many clients. On Apr 15, 9:05 am, Raffi Krikorian ra...@twitter.com wrote: please feel free to point us to standards that you would like us to consider. we are really attempting to make this insanely simple by literally just having a triple of items to store (namespace, key, value) -- so, we are just really talking about representation, i assume. On Thu, Apr 15, 2010 at 12:09 AM, zn...@comcast.net wrote: - Jud jvale...@gmail.com wrote: On Apr 14, 5:05 pm, James Teters jtet...@gmail.com wrote: Any ideas on size limitations or restrictions for this meta data? good question; I have the same one. simple math based on average tweet status byte size (of status structure coming through the streaming or REST interface) tells us that it wouldn't take much being jammed into the annotation's field to double that size. what status size increase is Twitter's infrastructure ready/willing to tolerate? it seems to me that a few things are NOT candidates for the annotations field(s): - void * (for you old schoolers on the list) - media who's original native format is binary (e.g. photos/videos) annotations will need limitations like: - overall size - if key/value pairs become the model... they'll need individual size limitations (for name and value) - max number of pairs - etc. the whole thing feels driven by the answer to the original size question. another question would be whether or not the tweet originator can remove annotations that others put on their tweet? I'd assume that I'd have control over my original tweet in that manner (e.g. notes functionality on Flickr) -- To unsubscribe, reply using remove me as the subject. In addition to size constraints, I'd like to *strongly* suggest that wherever possible, annotations use *existing* open standards! Please, let's not reinvent the semantic web, even if we can. ;-) -- Raffi Krikorian Twitter Platform Teamhttp://twitter.com/raffi
[twitter-dev] Tweet Box @Anywhere
Any body tries to post a status from Tweet Box and it posted successfully to his Twitter?
[twitter-dev] Re: Annotation details
I'm thinking of something like the RFC process for Internet protocols. By the way, on a related note, once the Twitter link shortener I've been hearing rumors about is in place, can we have all the links in tweets sent from the API shortened with it? Profile images, user object URLs, etc. ;-) Part of this stems from my concern over something I thought I heard yesterday about Twitter building its own place database. There are dozens of place databases - why does Twitter need another one? On Apr 15, 6:05 am, Raffi Krikorian ra...@twitter.com wrote: please feel free to point us to standards that you would like us to consider. we are really attempting to make this insanely simple by literally just having a triple of items to store (namespace, key, value) -- so, we are just really talking about representation, i assume. On Thu, Apr 15, 2010 at 12:09 AM, zn...@comcast.net wrote: - Jud jvale...@gmail.com wrote: On Apr 14, 5:05 pm, James Teters jtet...@gmail.com wrote: Any ideas on size limitations or restrictions for this meta data? good question; I have the same one. simple math based on average tweet status byte size (of status structure coming through the streaming or REST interface) tells us that it wouldn't take much being jammed into the annotation's field to double that size. what status size increase is Twitter's infrastructure ready/willing to tolerate? it seems to me that a few things are NOT candidates for the annotations field(s): - void * (for you old schoolers on the list) - media who's original native format is binary (e.g. photos/videos) annotations will need limitations like: - overall size - if key/value pairs become the model... they'll need individual size limitations (for name and value) - max number of pairs - etc. the whole thing feels driven by the answer to the original size question. another question would be whether or not the tweet originator can remove annotations that others put on their tweet? I'd assume that I'd have control over my original tweet in that manner (e.g. notes functionality on Flickr) -- To unsubscribe, reply using remove me as the subject. In addition to size constraints, I'd like to *strongly* suggest that wherever possible, annotations use *existing* open standards! Please, let's not reinvent the semantic web, even if we can. ;-) -- Raffi Krikorian Twitter Platform Teamhttp://twitter.com/raffi
Re: [twitter-dev] Re: Annotation details
Will annotations be indexed and searchable? Will I be able to search for all tweets with a certain annotation namespace, or namespace:key? I think this would be key to truly creating agreeable standards for metadata that can be utilized by many clients. the plan is yes - we will be working with the search team to make that happen. -- Raffi Krikorian Twitter Platform Team http://twitter.com/raffi -- To unsubscribe, reply using remove me as the subject.
Re: [twitter-dev] Re: Annotation details
I'm thinking of something like the RFC process for Internet protocols. really - i think that's just too formal. just mail the list, or hit me/marcel up over email. Part of this stems from my concern over something I thought I heard yesterday about Twitter building its own place database. There are dozens of place databases - why does Twitter need another one? honestly, of all the place databases out there, none of them fit our needs. none of them have the combination of unrestrictive licensing + data and IDs for countries going down to neighborhoods (arbitrarily sized things) + have the ability for creation, updating, etc. we are building something that will be available through the API that the entire ecosystem can use (and, not just for tweeting), so its a fairly unique set of constraints. -- Raffi Krikorian Twitter Platform Team http://twitter.com/raffi
[twitter-dev] Re: Tweet Box @Anywhere
Nope, not yet. Changed the Access Level to readwrite, but that also doesn't seem to work And the Twitter Connect Button doesn't work too On 15 Apr., 16:09, amrnt amr...@gmail.com wrote: Any body tries to post a status from Tweet Box and it posted successfully to his Twitter? -- To unsubscribe, reply using remove me as the subject.
[twitter-dev] Re: Change label color of @anywhere Tweet-box
Add the HTML in a span on your label parameter: example: twitter(#tweetform).tweetBox({ counter: true, height: 100, width: 400, label: span style=\color: #B3D565; font-size: .9em;\Your label text goes here:/span, defaultContent: @username I'm using your TweetBox!... , }); }); Because twitter serves the tweetbox in an iframe, adding HTML to your placeholder div or CSS wont affect the elements in the tweetbox. There may be a more elegant way to do this using CSS in your javascript but this approach works for the label at least. Hope this helps -ac On Apr 14, 6:59 pm, rakf1 kris...@gmail.com wrote: Is there a way to change the label color of @anywhereTweet-box ? I tried adding style=color:#FF to the span id=placeholder/ span, but did not make any difference. -- To unsubscribe, reply using remove me as the subject.
Re: [twitter-dev] Re: Introduce yourself!
Hi! I'm Ernandes, developer from Brazil. My twitter's nickname is @ernandesmjr. Currently I am developing a Java mobile Twitter API, to run on Java ME and Android-enabled devices. More details, check at www.twitterapime.com If you like it, join us! Regards, Ernandes On Wed, Apr 14, 2010 at 7:58 PM, seocoder mam...@gmail.com wrote: Hi. I'm Vidadi, coder from Russia. My NickName - SeoCoder. My first Twitter tools: #twittertime service - Find out how many days you are in a twitter - http://twitter.seocoder.org/ #UnFollower - standalone windows application writen in Delphi. UnFollow Who Not Follow U at http://www.seocoder.org/2010/03/25/twitter-pervaya-utilita-unfollower-udalyaem-tex-kto-nas-ne-followit/ -- Ernandes Jr. - ALL programs are poems. However, NOT all programmers are poets. -- To unsubscribe, reply using remove me as the subject.
[twitter-dev] @Anywhere + Sign in with Twitter / oAuth
I'm wondering whether we can auto sign-in users of our application to @Anywhere when they have already signed in with Twitter to our application using the oAuth API. It doesn't make sense from a user's perspective to ask the user to sign in twice. If this is not possible yet is it on the roadmap? Thanks,
[twitter-dev] @anywhere login code samples
Hi there, Some of the @anywhere sample code in the Working with the current user section required some tweaks to get working. The text specifies a User Callback function but the sample code does not. Also, the twttr.anywhere() function does not appear to work with an API key, instead I specify it with the anywhere.js file. Here is a modified code snippet that appears to work: //var anywhereApiKey = abcdefghi-123; //twttr.anywhere(anywhereApiKey, 1.0.0, onAnywhereLoad); twttr.anywhere(onAnywhereLoad); function onAnywhereLoad(twitter) { // Conditionally display the Connect Button based on current logged in state: if (twitter.isConnected) { twitter.User.current(user_callback); } else { twitter(#twitter-connect-placeholder).connectButton(); } }; function user_callback(currentUser) { screenName = currentUser.data('screen_name'); profileImage = currentUser.data('profile_image_url'); profileImageTag = img src=' + profileImage + '/; $('#twitter-connect-placeholder').innerHTML = Logged in as + profileImageTag + + screenName; }; Thanks, Andrew twitter.com/siggy_sf
[twitter-dev] Permission denied ... to get property Window.jQuery from https://api.twitter.com.
Permission denied ... to get property Window.jQuery from https:// api.twitter.com. My script throws XSS error. It's against same origin policy. Can someone explain to me what to do? script src=http://platform.twitter.com/anywhere.js? id=Xv=1 type=text/javascript/script script type=text/javascript function onAnywhereLoad(twitter) { twitter.hovercards(); }; twttr.anywhere(onAnywhereLoad); /script Getting Started http://dev.twitter.com/anywhere/begin -- To unsubscribe, reply using remove me as the subject.
Re: [twitter-dev] Re: Annotation details
+1!! ;) On Apr 15, 2010 7:09 a.m., zn...@comcast.net wrote: - Jud jvale...@gmail.com wrote: On Apr 14, 5:05 pm, James Teters jtet...@gmail.com wro... In addition to size constraints, I'd like to *strongly* suggest that wherever possible, annotations use *existing* open standards! Please, let's not reinvent the semantic web, even if we can. ;-) -- To unsubscribe, reply using remove me as the subject.
[twitter-dev] twitter.User.current.data is not a function
Hi all, I gave a try to Anywhere connect, and I have a weird issue, even if I'm using the official example provided on the website. Here is what I'm doing : twttr.anywhere(function(twitter) { if (twitter.isConnected) { alert(twitter.User.current.data(screen_name)); } else { twitter(#connectArea).connectButton({size: large}); } }); But this is what I got from firefox and Chrome : twitter.User.current.data is not a function [Break on this error] alert(twitter.User.current.data(screen_name)); Any hints? Thanks! -- To unsubscribe, reply using remove me as the subject.
Re: [twitter-dev] dev.twitter.com
Absolutely. Props to Taylor. I've seen the energy he's put into this and I totally agree it's a huge leap forward. On Wed, Apr 14, 2010 at 2:49 PM, Raffi Krikorian ra...@twitter.com wrote: cool - thanks - taylor has been spending a lot of time behind the scenes pushing this forward. he has always felt that having this portal was extremely important for developers, and he made it happen. On Wed, Apr 14, 2010 at 2:38 PM, Atul Kulkarni atulskulka...@gmail.comwrote: +1... this is nice. On Wed, Apr 14, 2010 at 4:27 PM, Dewald Pretorius dpr...@gmail.comwrote: Okay, this seriously rocks. Congrats to everyone who worked on making dev.twitter.com happen. -- To unsubscribe, reply using remove me as the subject. -- Regards, Atul Kulkarni -- Raffi Krikorian Twitter Platform Team http://twitter.com/raffi
[twitter-dev] Is it OK to store token in Windows Registry?
My question is similar to this post http://groups.google.com/group/ twitter-development-talk/browse_thread/thread/ 5d37e76f8efed028/2052210d4cd2bcea?lnk=gstq=token#2052210d4cd2bcea. I am using TweetSharp 1.0 with a WPF 3.0 C# application. I request that the user allow the desktop application to update their status at certain times in our application workflow. If the user grants permission, I store the access token and access token secret in the registry for use in future sessions. I could encrypt the token secret before persisting in the registry, and decrypt before using in my call to Twitter, but the encryption key would still be in the desktop application. This seems a bit better than not encrypting the token secret, but is the gain in security significant? -- To unsubscribe, reply using remove me as the subject.
[twitter-dev] @anywhere anywhere.js
worked Firefox 3.6.3 Google Chrome 4.1.249.1036 Google Chrome 5.0.342.9 beta Safari 4.0.5 IE 8 IE 9 not worked Opera 10.50 -- To unsubscribe, reply using remove me as the subject.
Re: [twitter-dev] Re: Annotation details
honestly, of all the place databases out there, none of them fit our needs. none of them have the combination of unrestrictive licensing + data and IDs for countries going down to neighborhoods (arbitrarily sized things) + have the ability for creation, updating, etc. we are building something that will be available through the API that the entire ecosystem can use (and, not just for tweeting), so its a fairly unique set of constraints. Hmm doesn't OSM contain sufficient data to actually be turned into a place database? I'm thinking administrative boundaries et al. Mathias.
Re: [twitter-dev] Re: Annotation details
Thanks for that info. Will try to gather a few and send them later. So you're ruling out concepts w/ multiple properties? Like a vcard? This seems similar to what axschema.org have for openid. Namespaces have to be uris, obviously. Cheers, André Luís On Apr 15, 2010 1:09 p.m., Raffi Krikorian ra...@twitter.com wrote: please feel free to point us to standards that you would like us to consider. we are really attempting to make this insanely simple by literally just having a triple of items to store (namespace, key, value) -- so, we are just really talking about representation, i assume. On Thu, Apr 15, 2010 at 12:09 AM, zn...@comcast.net wrote:- Jud jvale...@gmail.com... -- Raffi Krikorian Twitter Platform Team http://twitter.com/raffi -- To unsubscribe, reply using remove me as the subject.
[twitter-dev] creating an @anywhere application with dynamic subdomains
Hi, We have an application with dynamic user generated subdomains. @anywhere would be integrated into pages rendered under these user generated URLs. The domain however will remain constant. Is there a way we can register our application with dynamic subdomains to be able to deliver @anywhere on all user generated subdomain URLs? This is critical for us to be able to deliver specific value from twitter content for our users.
[twitter-dev] Re: Tweet Box @Anywhere
same thing here with tweetbox (hoverbox,follow all behave correctly ), appears to load and render correclty but no tweets appearing on twitter?(blog already has twitter tools and that continues to tweet fine..with its own key) On Apr 15, 3:09 pm, amrnt amr...@gmail.com wrote: Any body tries to post a status from Tweet Box and it posted successfully to his Twitter?
[twitter-dev] Re: twitter.User.current.data is not a function
Same Problem here On 15 Apr., 09:47, Palleas pall...@gmail.com wrote: Hi all, I gave a try to Anywhere connect, and I have a weird issue, even if I'm using the official example provided on the website. Here is what I'm doing : twttr.anywhere(function(twitter) { if (twitter.isConnected) { alert(twitter.User.current.data(screen_name)); } else { twitter(#connectArea).connectButton({size: large}); } }); But this is what I got from firefox and Chrome : twitter.User.current.data is not a function [Break on this error] alert(twitter.User.current.data(screen_name)); Any hints? Thanks! -- To unsubscribe, reply using remove me as the subject.
Re: [twitter-dev] Re: Annotation details
a way to think about this is analogous to geo. people used to put geo information in the 140 characters -- but now, we allow you to put it out of band in a machine-readable way. we want to extend that functionality to all types of meta data (links to URLs, etc.). 2010/4/15 André Luís andreluis...@gmail.com Why shorten links that won't count for 140 limit and are not viewed by user? It will only add un-needed requests and waste values on the twiter shortener. André Luís On Apr 15, 2010 2:18 p.m., M. Edward (Ed) Borasky zzn...@gmail.com wrote: I'm thinking of something like the RFC process for Internet protocols. By the way, on a related note, once the Twitter link shortener I've been hearing rumors about is in place, can we have all the links in tweets sent from the API shortened with it? Profile images, user object URLs, etc. ;-) Part of this stems from my concern over something I thought I heard yesterday about Twitter building its own place database. There are dozens of place databases - why does Twitter need another one? On Apr 15, 6:05 am, Raffi Krikorian ra...@twitter.com wrote: please feel free to point us to standards that you would like us to consider. we are really att... On Thu, Apr 15, 2010 at 12:09 AM, zn...@comcast.net wrote: - Jud jvale...@gmail.com wrote: On Apr 14, 5:05 pm, James Teters jtet...@gmail -- Raffi Krikorian Twitter Platform Team http://twitter.com/raffi -- To unsubscribe, reply using remove me as the subject.
Re: [twitter-dev] creating an @anywhere application with dynamic subdomains
unfortunately, not now. we are working on a solution, but right now the domain names have to have an exact string match. On Wed, Apr 14, 2010 at 11:22 PM, Ram yourstruly.vi...@gmail.com wrote: Hi, We have an application with dynamic user generated subdomains. @anywhere would be integrated into pages rendered under these user generated URLs. The domain however will remain constant. Is there a way we can register our application with dynamic subdomains to be able to deliver @anywhere on all user generated subdomain URLs? This is critical for us to be able to deliver specific value from twitter content for our users. -- Raffi Krikorian Twitter Platform Team http://twitter.com/raffi -- To unsubscribe, reply using remove me as the subject.
Re: [twitter-dev] Is it OK to store token in Windows Registry?
The Windows Registry is NOT secure -- it is at best obscure. Is it a good place to store information? Maybe. Matter of opinion. Consider a secured machine datastore as well. However anyone with physical access to the machine has everything they need to access anything they want, given a little patience and tech skill. Why do you need a secure location for a user token? It's just the user who has access, right? Or are you referring to your application's key, and not the user key? If so, there's really no good way to secure that with current iterations of OAuth. The mechanism is fallible for desktop apps. 2.0 may address some of that. ∞ 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 Thu, Apr 15, 2010 at 10:43 AM, Rich richard.frain...@gmail.com wrote: My question is similar to this post http://groups.google.com/group/ twitter-development-talk/browse_thread/thread/ 5d37e76f8efed028/2052210d4cd2bcea?lnk=gstq=token#2052210d4cd2bcea. I am using TweetSharp 1.0 with a WPF 3.0 C# application. I request that the user allow the desktop application to update their status at certain times in our application workflow. If the user grants permission, I store the access token and access token secret in the registry for use in future sessions. I could encrypt the token secret before persisting in the registry, and decrypt before using in my call to Twitter, but the encryption key would still be in the desktop application. This seems a bit better than not encrypting the token secret, but is the gain in security significant? -- To unsubscribe, reply using remove me as the subject.
Re: [twitter-dev] Re: Annotation details
Why shorten links that won't count for 140 limit and are not viewed by user? It will only add un-needed requests and waste values on the twiter shortener. André Luís On Apr 15, 2010 2:18 p.m., M. Edward (Ed) Borasky zzn...@gmail.com wrote: I'm thinking of something like the RFC process for Internet protocols. By the way, on a related note, once the Twitter link shortener I've been hearing rumors about is in place, can we have all the links in tweets sent from the API shortened with it? Profile images, user object URLs, etc. ;-) Part of this stems from my concern over something I thought I heard yesterday about Twitter building its own place database. There are dozens of place databases - why does Twitter need another one? On Apr 15, 6:05 am, Raffi Krikorian ra...@twitter.com wrote: please feel free to point us to standards that you would like us to consider. we are really att... On Thu, Apr 15, 2010 at 12:09 AM, zn...@comcast.net wrote: - Jud jvale...@gmail.com wrote: On Apr 14, 5:05 pm, James Teters jtet...@gmail -- To unsubscribe, reply using remove me as the subject.
[twitter-dev] Re: @anywhere login code samples
Thanks, that helped me a lot. My Connect is working now! ;) On 15 Apr., 12:08, siggy andrewseig...@gmail.com wrote: Hi there, Some of the @anywhere sample code in the Working with the current user section required some tweaks to get working. The text specifies a User Callback function but the sample code does not. Also, the twttr.anywhere() function does not appear to work with an API key, instead I specify it with the anywhere.js file. Here is a modified code snippet that appears to work: //var anywhereApiKey = abcdefghi-123; //twttr.anywhere(anywhereApiKey, 1.0.0, onAnywhereLoad); twttr.anywhere(onAnywhereLoad); function onAnywhereLoad(twitter) { // Conditionally display the Connect Button based on current logged in state: if (twitter.isConnected) { twitter.User.current(user_callback); } else { twitter(#twitter-connect-placeholder).connectButton(); } }; function user_callback(currentUser) { screenName = currentUser.data('screen_name'); profileImage = currentUser.data('profile_image_url'); profileImageTag = img src=' + profileImage + '/; $('#twitter-connect-placeholder').innerHTML = Logged in as + profileImageTag + + screenName; }; Thanks, Andrew twitter.com/siggy_sf -- To unsubscribe, reply using remove me as the subject.
Re: [twitter-dev] Re: @anywhere login code samples
I must have had some outdated snippets still present in the docs, I'll do my best to adjust this morning when I have time. Taylor Singletary Developer Advocate, Twitter http://twitter.com/episod On Thu, Apr 15, 2010 at 7:56 AM, silentgecko rwelb...@brainpool.de wrote: Thanks, that helped me a lot. My Connect is working now! ;) On 15 Apr., 12:08, siggy andrewseig...@gmail.com wrote: Hi there, Some of the @anywhere sample code in the Working with the current user section required some tweaks to get working. The text specifies a User Callback function but the sample code does not. Also, the twttr.anywhere() function does not appear to work with an API key, instead I specify it with the anywhere.js file. Here is a modified code snippet that appears to work: //var anywhereApiKey = abcdefghi-123; //twttr.anywhere(anywhereApiKey, 1.0.0, onAnywhereLoad); twttr.anywhere(onAnywhereLoad); function onAnywhereLoad(twitter) { // Conditionally display the Connect Button based on current logged in state: if (twitter.isConnected) { twitter.User.current(user_callback); } else { twitter(#twitter-connect-placeholder).connectButton(); } }; function user_callback(currentUser) { screenName = currentUser.data('screen_name'); profileImage = currentUser.data('profile_image_url'); profileImageTag = img src=' + profileImage + '/; $('#twitter-connect-placeholder').innerHTML = Logged in as + profileImageTag + + screenName; }; Thanks, Andrew twitter.com/siggy_sf -- To unsubscribe, reply using remove me as the subject.
[twitter-dev] Re: App user counts missing from http://dev.twitter.com/apps
On Apr 15, 12:27 am, Taylor Singletary taylorsinglet...@twitter.com wrote: It's obviously a good number to know, but it's also a number you should be able to derive through good monitoring in your own application... Such monitoring is difficult for client apps. Yes, you can get download/purchase stats. But if you do not have client side app tracking implemented, then the simple number of users from Twitter is great to compare with the store stats. Of course there are roundabout ways to get everything, but why not show a little love and make peoples/devs lives easier. And, how come dev.twitter.com does not use OAuth and has its own weird login page? Do as I say, not as I do? ;) J
[twitter-dev] @anywhere sign in button disappearing
You click the little guy and it disappears. Personally, I think it's it adds a little excitement to my blog but any idea why it's happening? e.g., see aralbalkan.com/3182 Muchas danke-yous, Aral -- To unsubscribe, reply using remove me as the subject.
Re: [twitter-dev] @anywhere sign in button disappearing
From my testing it has only disappeared for my own account. If I login with a secondary account it works fine. Abraham On Thu, Apr 15, 2010 at 15:39, Aral Balkan a...@aralbalkan.com wrote: You click the little guy and it disappears. Personally, I think it's it adds a little excitement to my blog but any idea why it's happening? e.g., see aralbalkan.com/3182 Muchas danke-yous, Aral -- Abraham Williams | Developer for hire | http://abrah.am PoseurTech Labs | Projects | http://labs.poseurtech.com This email is: [ ] shareable [x] ask first [ ] private. -- To unsubscribe, reply using remove me as the subject.
Re: [twitter-dev] @anywhere sign in button disappearing
Definitely seeing it disappear while logged into a different account. Not sure if some oAuth session is being cached or something. Aral On Thu, Apr 15, 2010 at 4:43 PM, Abraham Williams 4bra...@gmail.com wrote: From my testing it has only disappeared for my own account. If I login with a secondary account it works fine. Abraham On Thu, Apr 15, 2010 at 15:39, Aral Balkan a...@aralbalkan.com wrote: You click the little guy and it disappears. Personally, I think it's it adds a little excitement to my blog but any idea why it's happening? e.g., see aralbalkan.com/3182 Muchas danke-yous, Aral -- Abraham Williams | Developer for hire | http://abrah.am PoseurTech Labs | Projects | http://labs.poseurtech.com This email is: [ ] shareable [x] ask first [ ] private. -- To unsubscribe, reply using remove me as the subject.
[twitter-dev] @anywhere hashtag hovercards
How about an @anywhere hovercard for hashtags? Get those promoted tweets displayed all over the place? ;-) -- To unsubscribe, reply using remove me as the subject.
[twitter-dev] Re: @anywhere sign in button disappearing
Hi Aral, So the connect button disappears entirely after you've connected? If you reply with steps to reproduce we can look in to it. Thanks, Dan On Apr 15, 8:48 am, Aral Balkan aralbal...@gmail.com wrote: Definitely seeing it disappear while logged into a different account. Not sure if some oAuth session is being cached or something. Aral -- To unsubscribe, reply using remove me as the subject.
[twitter-dev] Re: Infochimps Datasets available for Hack Day: drawn from 1.6B tweets, 40M+ users+reputation, ~0.5B reply links, more!
Uh ... then again, http://blog.twitter.com/2010/04/tweet-preservation.html ;-) On Apr 15, 1:04 am, zn...@comcast.net wrote: - Philip (flip) Kromer f...@infochimps.org wrote: Hi all, I'm pleased to announce that Infochimps is making datasets from our massive scrape of the Twitter corpus available for Chirp Hack day devs. There's a big opportunity for apps that draw on the historical record and *structure* of twitter -- apps that require a global perspective and intense computation. The following are available to mash up against other datasets from infochimps.org or even just to bootstrap-seed the database for your Hack Day application. We also have a 30-machine cluster up to do further extractions, so if you have something really interesting you'd like to pull please let me know. Reputation Metrics from Reply and Follow graph s Uses algorithm similar to pagerank to derive reputation, one using the a_follows_b graph and one using the a_replies_b graphs Reply/retweet/mention graph Every observed Reply, retweet, or mention seen in a 1.6B-tweet sample (about 15% of historical record): a_[rel]_b, user_a_id, user_b_id, tweet_id Twitter Users by Background Color The number of users with each background color: color code, user count Twitter Users by Friends Count The number of users with a given number of friends: number of friends, user count Twitter Users by Followers Count The number of users with a given number of followers: number of followers, user count Twitter Users by Created At The number of users whose accounts were created in a given month/day/hour along with the earliest seen ID in that hour: timestamp to month/day/hour, user count Smileys Smiley faces with user, date, tweet_id Hashtags Hashtags with user, date, tweet_id TweetUrl URLs with user, date, tweet_id Twitter Users by Location The number of users in a location string (as provided by the user in their profile). location, user count Stock Tweets Tweets that include the stock symbol tag convention of $STOCKNAME or $$. The tweet is listed for each time a tag is used in the tweet. stock_tweet (resource name), symbol captured, tweet object (all things in a tweet) Stock Prices Daily stock prices for the NASDAQ, NYSE, AMEX exchanges 1970-now symbol, open, low, close, high, volume Parameters for what's available: raw object size number of objs a_follows_b 45.8 GB 1,587,838,568 a_mentions_b 29.5 GB 493,682,309 a_retweets_b 1.6 GB 36,022,061 twitter_user 3.1 GB 43,261,388 tweets 376.0 GB 1,641,624,381 hashtag 7.1 GB 139,916,844 smiley 4.4 GB 99,272,082 tweet_url 29.5 GB 433,278,116 If you'd like access to any of these, or have an idea that needs something /not/ here, please let me know ( f...@infochimps.org ). We're only opening access to Hack Day devs for now -- but please let us know your ideas so we can show twitter how much demand there is for aggregated access to data. best, flip @mrflip 512-659-6846 http://infochimps.org Find any dataset in the world This is too short notice for me to be able to come up with a use for these data. But for the future, do you by any chance have access to *intraday futures and options* time series? Daily stock data are more or less useless.
[twitter-dev] Re: Annotation details
I guess I need to look at the protocol buffers spec again. And some of the binary JSON formats. While we're dreaming, how about sending Streaming data *compressed*? ;-) On Apr 15, 7:49 am, Raffi Krikorian ra...@twitter.com wrote: a way to think about this is analogous to geo. people used to put geo information in the 140 characters -- but now, we allow you to put it out of band in a machine-readable way. we want to extend that functionality to all types of meta data (links to URLs, etc.). 2010/4/15 André Luís andreluis...@gmail.com Why shorten links that won't count for 140 limit and are not viewed by user? It will only add un-needed requests and waste values on the twiter shortener. André Luís On Apr 15, 2010 2:18 p.m., M. Edward (Ed) Borasky zzn...@gmail.com wrote: I'm thinking of something like the RFC process for Internet protocols. By the way, on a related note, once the Twitter link shortener I've been hearing rumors about is in place, can we have all the links in tweets sent from the API shortened with it? Profile images, user object URLs, etc. ;-) Part of this stems from my concern over something I thought I heard yesterday about Twitter building its own place database. There are dozens of place databases - why does Twitter need another one? On Apr 15, 6:05 am, Raffi Krikorian ra...@twitter.com wrote: please feel free to point us to standards that you would like us to consider. we are really att... On Thu, Apr 15, 2010 at 12:09 AM, zn...@comcast.net wrote: - Jud jvale...@gmail.com wrote: On Apr 14, 5:05 pm, James Teters jtet...@gmail -- Raffi Krikorian Twitter Platform Teamhttp://twitter.com/raffi
[twitter-dev] Re: Annotation details
My impression was that the Open Street Map project was attempting to solve this. At least that's what I picked up in the aftermath of the Haiti earthquake. If you haven't already, check out http://maps2.humaninet.org/ and http://www.humaninet.org/maps2/maps2-geo-usability-2010-1-12.pdf We've got a couple of really sharp open source mapping geeks in PDX - try @GeoPDX and @elsewisemedia for starters. On Apr 15, 7:28 am, Raffi Krikorian ra...@twitter.com wrote: I'm thinking of something like the RFC process for Internet protocols. really - i think that's just too formal. just mail the list, or hit me/marcel up over email. Part of this stems from my concern over something I thought I heard yesterday about Twitter building its own place database. There are dozens of place databases - why does Twitter need another one? honestly, of all the place databases out there, none of them fit our needs. none of them have the combination of unrestrictive licensing + data and IDs for countries going down to neighborhoods (arbitrarily sized things) + have the ability for creation, updating, etc. we are building something that will be available through the API that the entire ecosystem can use (and, not just for tweeting), so its a fairly unique set of constraints. -- Raffi Krikorian Twitter Platform Teamhttp://twitter.com/raffi -- To unsubscribe, reply using remove me as the subject.
Re: [twitter-dev] Re: Annotation details
I guess I need to look at the protocol buffers spec again. And some of the binary JSON formats. While we're dreaming, how about sending Streaming data *compressed*? ;-) How about keeping a new way of talking to Twitter human readable during its initial implementation? Premature optimization. -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- In Computer Science, we stand on each other's feet. -- Brian Reid -- -- To unsubscribe, reply using remove me as the subject.
[twitter-dev] Re: twitter.User.current.data is not a function
The way to acheive this best would be: twttr.anywhere(function(twitter) { if (twitter.isConnected()) { alert(ttwitter.currentUser.data('screen_name')); } else { twitter(#connectArea).connectButton({size: large}); } }); Thanks, Dan On Apr 15, 7:46 am, silentgecko rwelb...@brainpool.de wrote: Same Problem here On 15 Apr., 09:47, Palleas pall...@gmail.com wrote: Hi all, I gave a try to Anywhere connect, and I have a weird issue, even if I'm using the official example provided on the website. Here is what I'm doing : twttr.anywhere(function(twitter) { if (twitter.isConnected) { alert(twitter.User.current.data(screen_name)); } else { twitter(#connectArea).connectButton({size: large}); } }); But this is what I got from firefox and Chrome : twitter.User.current.data is not a function [Break on this error] alert(twitter.User.current.data(screen_name)); Any hints? Thanks! -- To unsubscribe, reply using remove me as the subject.
Re: [twitter-dev] @anywhere hashtag hovercards
Yes. Hashtag hovercards would be awesome. Abraham On Thu, Apr 15, 2010 at 16:09, Dewald Pretorius dpr...@gmail.com wrote: How about an @anywhere hovercard for hashtags? Get those promoted tweets displayed all over the place? ;-) -- To unsubscribe, reply using remove me as the subject. -- Abraham Williams | Developer for hire | http://abrah.am PoseurTech Labs | Projects | http://labs.poseurtech.com This email is: [ ] shareable [x] ask first [ ] private.
Re: [twitter-dev] Re: Annotation details
probably not - we're just going to stick with JSON and XML for a bit now. On Thu, Apr 15, 2010 at 8:52 AM, M. Edward (Ed) Borasky zzn...@gmail.comwrote: I guess I need to look at the protocol buffers spec again. And some of the binary JSON formats. While we're dreaming, how about sending Streaming data *compressed*? ;-) On Apr 15, 7:49 am, Raffi Krikorian ra...@twitter.com wrote: a way to think about this is analogous to geo. people used to put geo information in the 140 characters -- but now, we allow you to put it out of band in a machine-readable way. we want to extend that functionality to all types of meta data (links to URLs, etc.). 2010/4/15 André Luís andreluis...@gmail.com Why shorten links that won't count for 140 limit and are not viewed by user? It will only add un-needed requests and waste values on the twiter shortener. André Luís On Apr 15, 2010 2:18 p.m., M. Edward (Ed) Borasky zzn...@gmail.com wrote: I'm thinking of something like the RFC process for Internet protocols. By the way, on a related note, once the Twitter link shortener I've been hearing rumors about is in place, can we have all the links in tweets sent from the API shortened with it? Profile images, user object URLs, etc. ;-) Part of this stems from my concern over something I thought I heard yesterday about Twitter building its own place database. There are dozens of place databases - why does Twitter need another one? On Apr 15, 6:05 am, Raffi Krikorian ra...@twitter.com wrote: please feel free to point us to standards that you would like us to consider. we are really att... On Thu, Apr 15, 2010 at 12:09 AM, zn...@comcast.net wrote: - Jud jvale...@gmail.com wrote: On Apr 14, 5:05 pm, James Teters jtet...@gmail -- Raffi Krikorian Twitter Platform Teamhttp://twitter.com/raffi -- Raffi Krikorian Twitter Platform Team http://twitter.com/raffi
Re: [twitter-dev] Re: Annotation details
tell them to hit me up. On Thu, Apr 15, 2010 at 8:49 AM, M. Edward (Ed) Borasky zzn...@gmail.comwrote: My impression was that the Open Street Map project was attempting to solve this. At least that's what I picked up in the aftermath of the Haiti earthquake. If you haven't already, check out http://maps2.humaninet.org/ and http://www.humaninet.org/maps2/maps2-geo-usability-2010-1-12.pdf We've got a couple of really sharp open source mapping geeks in PDX - try @GeoPDX and @elsewisemedia for starters. On Apr 15, 7:28 am, Raffi Krikorian ra...@twitter.com wrote: I'm thinking of something like the RFC process for Internet protocols. really - i think that's just too formal. just mail the list, or hit me/marcel up over email. Part of this stems from my concern over something I thought I heard yesterday about Twitter building its own place database. There are dozens of place databases - why does Twitter need another one? honestly, of all the place databases out there, none of them fit our needs. none of them have the combination of unrestrictive licensing + data and IDs for countries going down to neighborhoods (arbitrarily sized things) + have the ability for creation, updating, etc. we are building something that will be available through the API that the entire ecosystem can use (and, not just for tweeting), so its a fairly unique set of constraints. -- Raffi Krikorian Twitter Platform Teamhttp://twitter.com/raffi -- To unsubscribe, reply using remove me as the subject. -- Raffi Krikorian Twitter Platform Team http://twitter.com/raffi
[twitter-dev] Where am I going wrong?
I am trying to follow your example on inserting the twitter login button but nothing is showing up. Here is my code: div id=twitter-connect-placeholder/div script type=text/javascript var anywhereApiKey = mykeyxx; twttr.anywhere(anywhereApiKey, 1.0.0, onAnywhereLoad); function onAnywhereLoad(twitter) { // Simplest use case: Append a connect button to the specified DOM // element. twitter(#twitter-connect-placeholder).connectButton(); // Connect buttons have a range of sizes to choose from: // small, medium, large, xlarge. medium is the default size. // You can specify the size as follows: twitter(#twitter-connect-placeholder).connectButton({ size: large }); }; /script This is in my head of my application.html.erb file script src=http://platform.twitter.com/anywhere.js? id=myKeyxv=1 type=text/javascript/script
[twitter-dev] Re: Tweet Box @Anywhere
Glad Im not the only one... I thought perhaps it wasnt working on my local environment because of the callback URL but even in production, everything seems to work perfectly except nothing posts to twitter. Is there a go-live date for this or are there working examples out there right now? On Apr 15, 10:31 am, piklz richard.go...@gmail.com wrote: same thing here with tweetbox (hoverbox,follow all behave correctly ), appears to load and render correclty but no tweets appearing on twitter?(blog already has twitter tools and that continues to tweet fine..with its own key) On Apr 15, 3:09 pm, amrnt amr...@gmail.com wrote: Any body tries to post a status from Tweet Box and it posted successfully to his Twitter?
[twitter-dev] User Streams Code Samples
Anyone have any code examples of a working integration of User Streams. When I tail the user.js, I get a constant stream of data for my user. I know I'm not getting that many follows. Curious if I'm querying it the right way. I'd love to see some examples. Jesse -- To unsubscribe, reply using remove me as the subject.
[twitter-dev] Creating or editing applications through dev.twitter.com causes apps to lose write access
When creating or editing an app through the new dev.twitter.com site, the application will lose (or never be permitted) write access and will only have read access. The options to choose between read access or read write access that's on the old oAuth page are no longer accessible on the new dev page. Is this being done away with or was it just left out? -- To unsubscribe, reply using remove me as the subject.
[twitter-dev] Re: Creating or editing applications through dev.twitter.com causes apps to lose write access
In that case, you might not want to edit your app settings through dev. because since early this morning, the old edit URL [1] has been throwing a fail whale. You won't be able to restore your r/w setting. [1] http://twitter.com/oauth_clients/details/ On Apr 15, 5:12 pm, Mike Davis (mcdavis) mcda...@gmail.com wrote: When creating or editing an app through the new dev.twitter.com site, the application will lose (or never be permitted) write access and will only have read access. The options to choose between read access or read write access that's on the old oAuth page are no longer accessible on the new dev page. Is this being done away with or was it just left out?
[twitter-dev] Re: Where am I going wrong?
Figured it out, the documentation must need to be updated a bit still. Change: twttr.anywhere(anywhereApiKey, 1.0.0, onAnywhereLoad); To: twttr.anywhere(onAnywhereLoad); And it should work for you. On Apr 15, 2:47 pm, jgervin jger...@gmail.com wrote: I am trying to follow your example on inserting the twitter login button but nothing is showing up. Here is my code: div id=twitter-connect-placeholder/div script type=text/javascript var anywhereApiKey = mykeyxx; twttr.anywhere(anywhereApiKey, 1.0.0, onAnywhereLoad); function onAnywhereLoad(twitter) { // Simplest use case: Append a connect button to the specified DOM // element. twitter(#twitter-connect-placeholder).connectButton(); // Connect buttons have a range of sizes to choose from: // small, medium, large, xlarge. medium is the default size. // You can specify the size as follows: twitter(#twitter-connect-placeholder).connectButton({ size: large }); }; /script This is in my head of my application.html.erb file script src=http://platform.twitter.com/anywhere.js? id=myKeyxv=1 type=text/javascript/script -- To unsubscribe, reply using remove me as the subject.
Re: [twitter-dev] User Streams Code Samples
Personally, I only consume Twitter via curl and streams. Check out Ryan King's (et. al. I think half of eng has contributed into it by now) Earlybird. It's up on the Git Hubs. -John Kalucki http://twitter.com/jkalucki Infrastructure, Twitter Inc. On Thu, Apr 15, 2010 at 12:23 PM, Jesse Stay jesses...@gmail.com wrote: Anyone have any code examples of a working integration of User Streams. When I tail the user.js, I get a constant stream of data for my user. I know I'm not getting that many follows. Curious if I'm querying it the right way. I'd love to see some examples. Jesse -- To unsubscribe, reply using remove me as the subject.
[twitter-dev] Wrapping up Hovercards into a Wordpress Plugin
Hi guys, I've been tinkering around with the Twitter API @anywhere and I've cobbled together a wordpress plugin that allows hovercards to be displayed on blogs, specifically my blog. However, when testing on friend's sites, whilst the actual hovering works, clickthroughs don't. I suspect the reason is obvious - API keys the fact that my blog's URL is required for callbacks etc. Is there a way I can package it up so that users can download a wordpress plugin, activate it it's good to go? Ideally I don't want people signing up for API keys left, right centre as it just seems a little pointless. Does Wordpress have an API key that can be used with @anywhere? Just playing with the software, keep up the great work! Rhys -- To unsubscribe, reply using remove me as the subject.
[twitter-dev] Re: Where am I going wrong?
The same thing is happening for me. Firebug shows it as returning a 403: Forbidden. My response text is - ?xml version=1.0 encoding=UTF-8? ErrorCodeAccessDenied/CodeMessageAccess Denied/ MessageRequestIdD383456151C16F65/ RequestIdHostIdF7MvMBRIBSKfj5NFUl1B4nPeKW8csb98Ow0zp6oLJ/SYeaZKlqh +T3fKB4O7ID42/HostId/Error On Apr 15, 2:47 pm, jgervin jger...@gmail.com wrote: I am trying to follow your example on inserting the twitter login button but nothing is showing up. Here is my code: div id=twitter-connect-placeholder/div script type=text/javascript var anywhereApiKey = mykeyxx; twttr.anywhere(anywhereApiKey, 1.0.0, onAnywhereLoad); function onAnywhereLoad(twitter) { // Simplest use case: Append a connect button to the specified DOM // element. twitter(#twitter-connect-placeholder).connectButton(); // Connect buttons have a range of sizes to choose from: // small, medium, large, xlarge. medium is the default size. // You can specify the size as follows: twitter(#twitter-connect-placeholder).connectButton({ size: large }); }; /script This is in my head of my application.html.erb file script src=http://platform.twitter.com/anywhere.js? id=myKeyxv=1 type=text/javascript/script
[twitter-dev] Re: Favorites Error
FYI, looks like this bug was submitted quite a while ago. http://code.google.com/p/twitter-api/issues/detail?id=855q=favoritescolspec=ID%20Stars%20Type%20Status%20Priority%20Owner%20Summary%20Opened%20Modified%20Component On Apr 14, 5:47 pm, btjones btjo...@gmail.com wrote: This is happening for me as well. The problem can be easily recreated with the Twitter API explorer:http://twitapi.com/explore/favorites-create/http://twitapi.com/explore/favorites-destroy/ -Brandon On Mar 30, 7:26 pm, Orian Marx (@orian) or...@orianmarx.com wrote: It seems thatfavorites/createandfavorites/destroy are no longer returning tweets with a properly updated favorited node. If I try to favorite a tweet, theresponsecomes back with favorited = false, but if I re-fetch the tweet immediately after it comes back as favorited = true. It was not working like this until very recently. Anybody else getting this? Thanks, @orian
[twitter-dev] Re: Creating or editing applications through dev.twitter.com causes apps to lose write access
Yeah, I was able to switch my app back via the old page, but just wanted to bring it to attention. On Apr 15, 4:35 pm, Dewald Pretorius dpr...@gmail.com wrote: In that case, you might not want to edit your app settings through dev. because since early this morning, the old edit URL [1] has been throwing a fail whale. You won't be able to restore your r/w setting. [1]http://twitter.com/oauth_clients/details/ On Apr 15, 5:12 pm, Mike Davis (mcdavis) mcda...@gmail.com wrote: When creating or editing an app through the new dev.twitter.com site, the application will lose (or never be permitted) write access and will only have read access. The options to choose between read access or read write access that's on the old oAuth page are no longer accessible on the new dev page. Is this being done away with or was it just left out? -- To unsubscribe, reply using remove me as the subject.
[twitter-dev] Re: @anywhere login code samples
I get 401 Unauthorized when I use this example code with my API key of course. On Apr 15, 6:08 am, siggy andrewseig...@gmail.com wrote: Hi there, Some of the @anywhere sample code in the Working with the current user section required some tweaks to get working. The text specifies a User Callback function but the sample code does not. Also, thetwttr.anywhere() function does not appear to work with an API key, instead I specify it with the anywhere.js file. Here is a modified code snippet that appears to work: //var anywhereApiKey = abcdefghi-123; //twttr.anywhere(anywhereApiKey, 1.0.0, onAnywhereLoad);twttr.anywhere(onAnywhereLoad); function onAnywhereLoad(twitter) { // Conditionally display theConnectButton based on current logged in state: if (twitter.isConnected) { twitter.User.current(user_callback); } else { twitter(#twitter-connect-placeholder).connectButton(); } }; function user_callback(currentUser) { screenName = currentUser.data('screen_name'); profileImage = currentUser.data('profile_image_url'); profileImageTag = img src=' + profileImage + '/; $('#twitter-connect-placeholder').innerHTML = Logged in as + profileImageTag + + screenName; }; Thanks, Andrew twitter.com/siggy_sf
[twitter-dev] Re: Creating or editing applications through dev.twitter.com causes apps to lose write access
Every single time I go to https://twitter.com/apps and click the linked name of my app, I get an over capacity fail whale. I also just now noticed that there was an approved app in my Connections tab, which said the app was authorized today at 5:17 AM. And I *most* certainly did not authorize that app today (or ever). It's one of my placeholder apps, and I use those consumer keys absolutely nowhere. On Apr 15, 5:40 pm, Mike Davis (mcdavis) mcda...@gmail.com wrote: Yeah, I was able to switch my app back via the old page, but just wanted to bring it to attention. On Apr 15, 4:35 pm, Dewald Pretorius dpr...@gmail.com wrote: In that case, you might not want to edit your app settings through dev. because since early this morning, the old edit URL [1] has been throwing a fail whale. You won't be able to restore your r/w setting. [1]http://twitter.com/oauth_clients/details/ On Apr 15, 5:12 pm, Mike Davis (mcdavis) mcda...@gmail.com wrote: When creating or editing an app through the new dev.twitter.com site, the application will lose (or never be permitted) write access and will only have read access. The options to choose between read access or read write access that's on the old oAuth page are no longer accessible on the new dev page. Is this being done away with or was it just left out?- Hide quoted text - - Show quoted text -
Re: [twitter-dev] User Streams Code Samples
Note that you're getting the follows of all your friends. Not just you. So if you follow 100 people, you'll get 100x 'normal' follow activity. ---Mark http://twitter.com/mccv On Thu, Apr 15, 2010 at 1:36 PM, John Kalucki j...@twitter.com wrote: Personally, I only consume Twitter via curl and streams. Check out Ryan King's (et. al. I think half of eng has contributed into it by now) Earlybird. It's up on the Git Hubs. -John Kalucki http://twitter.com/jkalucki Infrastructure, Twitter Inc. On Thu, Apr 15, 2010 at 12:23 PM, Jesse Stay jesses...@gmail.com wrote: Anyone have any code examples of a working integration of User Streams. When I tail the user.js, I get a constant stream of data for my user. I know I'm not getting that many follows. Curious if I'm querying it the right way. I'd love to see some examples. Jesse -- To unsubscribe, reply using remove me as the subject.
[twitter-dev] API errors with Python Tools
Hey all, I've been using the Python Twitter Tools library to access the API, which is beautiful and great to use but as far as I can tell has no systematic error handling. There is no distinction between temporary errors (e.g., connection failed, rate limit exceeded, etc) and permanent ones (e.g, user account deleted). Furthermore, library itself doesn't even return the error code--just a chunk of unparsed HTML that it gets from Twitter. So, it pretty much means that error handling is a roll-your-own kind of issue. Have any of you found good ways of dealing with this problem? Do other Twitter libraries provide better error handling? (Hopefully other Python libraries do this better, but I would be willing to switch languages if necessary). Thanks in advance, Andrei -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Twitter REST API Method: GET /statuses/:id/retweeted_by
I'm using the twitter4j api for my application, and I need to get the more retweets of a given tweet as possible.. I've tried to use the getRetweets() method but it returns only the last 20 retweets (instead of 100, as documentated). So I've seen the new: Twitter REST API Method: GET /statuses/:id/retweeted_by/ids.format id. Required. The id of the status count. Indicates number of retweeters to return per page, with a maximum 100 possible results. page. Specifies the page of results to retrieve. Note: there are pagination limits. but i don't know how to use it, can someone explain me very shortly how to call this method and how can I pass the parameters? -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Display Hovercards extended by default
Is there an option to do this? it will be nice it we could somewhat control how to display the hovercard (extended or collapsed) -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Re: Tweet Box @Anywhere
I tried to post a status from Tweet Box at http://dev.twitter.com/anywhere/begin and while it authenticated me (slick!), it didn't post. Hm. On Apr 15, 8:09 am, amrnt amr...@gmail.com wrote: Any body tries to post a status from Tweet Box and it posted successfully to his Twitter? -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Manipulate content of Hovercards
I'm playing with Hovercards and callbacks within hovercards, but the callback seems to be called before the hovercard is rendered. Is there a good way to manipulate the content of a hovercard after it is rendered? How can I interrupt the event that renders the hovercard (or know after it has been triggered)? Thanks, Jesse -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Re: Search API - 420 increase at 17:01 PDT
This issue is now fixed. -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
Re: [twitter-dev] User Stream's API usage
Any chance on getting access to a beta of these from outside chirp? I had to come home this afternoon and didn't get to play too much while i was there, but would be really interested in playing more. I understand it's not ready for roll out. Just looking to start the development process. isaiah http://twitter.com/isaiah On Apr 14, 2010, at 9:26 PM, John Kalucki wrote: I should have encouraged folks to understand the Streaming API first. You can read up on all the details here: http://apiwiki.twitter.com/Streaming-API-Documentation But, for a prototype, just dive right in. -John On Wed, Apr 14, 2010 at 9:15 PM, Mark McBride mmcbr...@twitter.com wrote: Some sample APIs... curl -uyouruser:yourpass http://chirpstream.twitter.com/2b/user.json Will give you a stream of your home timeline, social activity from your friends, and direct messages. curl -uyouruser:yourpass http://chirpstream.twitter.com/2b/user.json?track=#chirp; Will give you all of the above, plus any tweets matching #chirp Does that clear it up? If not, I'm currently near The Coop. ---Mark http://twitter.com/mccv On Wed, Apr 14, 2010 at 6:37 PM, Kovas Boguts kovas.bog...@gmail.com wrote: Hi, Is there any description of how to use this? I don't understand how to use track with this or what is generally available for hack day. Thanks! On Apr 14, 2010, at 4:17 PM, John Kalucki j...@twitter.com wrote: Email me your account name. You are in, but not getting data. Also, is this account following anyone? Typos by iPhone. On Apr 14, 2010, at 4:11 PM, Jud jvale...@gmail.com wrote: I'm in the chrip conference IP address range, but http://chirpstream.twitter.com/2b/user.json usage isn't clear. - the follow predicate in a POST doesn't work (should it?) - track as a predicate gets accepted, but no data comes through (I get a single '{friends:[]}', but that's it) - am I supposed to be tracking userids or names or keywords? is the resource simply not turned on until later at/on the hackathon's network? -- To unsubscribe, reply using remove me as the subject.
[twitter-dev] Annotations - survivable and searchable?
Regarding the annotations that were announced yesterday at the Developer's conference: 1. Will those annotations survive for replies and direct messages of original tweets? For example, if I were to send a tweet and annotate with an id that was germain to my application, any tweet that was a reply of the original tweet or subsequently down the line, I'd like that id to appear in annotations. 2. I am assuming they will be searchable? The idea being that I annotate my original tweet with an id that's pertinent to my application and any tweet that comes out after as a reply or somehow related to that original tweet I can search and find easily. Is this something you are thinking about? Thanks, Scott -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
Re: [twitter-dev] User Stream's API usage
Once the conference is over, we'll open the preview up to developers everywhere. A few more hours to go... -John Kalucki http://twitter.com/jkalucki Infrastructure, Twitter Inc. On Thu, Apr 15, 2010 at 3:49 PM, Isaiah Carew isa...@me.com wrote: Any chance on getting access to a beta of these from outside chirp? I had to come home this afternoon and didn't get to play too much while i was there, but would be really interested in playing more. I understand it's not ready for roll out. Just looking to start the development process. isaiah http://twitter.com/isaiah On Apr 14, 2010, at 9:26 PM, John Kalucki wrote: I should have encouraged folks to understand the Streaming API first. You can read up on all the details here: http://apiwiki.twitter.com/Streaming-API-Documentation But, for a prototype, just dive right in. -John On Wed, Apr 14, 2010 at 9:15 PM, Mark McBride mmcbr...@twitter.comwrote: Some sample APIs... curl -uyouruser:yourpass http://chirpstream.twitter.com/2b/user.jsohttp://chirpstream.twitter.com/2b/user.json n Will give you a stream of your home timeline, social activity from your friends, and direct messages. curl -uyouruser:yourpass http://chirpstream.twitter.com/2b/user.jsohttp://chirpstream.twitter.com/2b/user.json n?track=#chirp Will give you all of the above, plus any tweets matching #chirp Does that clear it up? If not, I'm currently near The Coop. ---Mark http://twitter.com/mccv On Wed, Apr 14, 2010 at 6:37 PM, Kovas Boguts kovas.bog...@gmail.comwrote: Hi, Is there any description of how to use this? I don't understand how to use track with this or what is generally available for hack day. Thanks! On Apr 14, 2010, at 4:17 PM, John Kalucki j...@twitter.com wrote: Email me your account name. You are in, but not getting data. Also, is this account following anyone? Typos by iPhone. On Apr 14, 2010, at 4:11 PM, Jud jvale...@gmail.com wrote: I'm in the chrip conference IP address range, but http://chirpstream.twitter.com/2b/user.json usage isn't clear. - the follow predicate in a POST doesn't work (should it?) - track as a predicate gets accepted, but no data comes through (I get a single '{friends:[]}', but that's it) - am I supposed to be tracking userids or names or keywords? is the resource simply not turned on until later at/on the hackathon's network? -- To unsubscribe, reply using remove me as the subject.
[twitter-dev] Re: User Stream's API usage
John, I know it is still some ways off into the future, but would you consider segmenting out the areas of user streams that don't have privacy implications, to make those parts of the stream available to services as a higher priority compared with the rest? For me, social graph changes are the biggest pain point in terms of processing and delays (and in some cases impracticality) in providing services to users. I can imagine that there will be scalability issues, because a service will have to be able to subscribe to the streams of hundreds of thousands or more users. Nonetheless, consideration will be much appreciated. On Apr 15, 8:32 pm, John Kalucki j...@twitter.com wrote: Once the conference is over, we'll open the preview up to developers everywhere. A few more hours to go... -John Kaluckihttp://twitter.com/jkalucki Infrastructure, Twitter Inc. On Thu, Apr 15, 2010 at 3:49 PM, Isaiah Carew isa...@me.com wrote: Any chance on getting access to a beta of these from outside chirp? I had to come home this afternoon and didn't get to play too much while i was there, but would be really interested in playing more. I understand it's not ready for roll out. Just looking to start the development process. isaiah http://twitter.com/isaiah On Apr 14, 2010, at 9:26 PM, John Kalucki wrote: I should have encouraged folks to understand the Streaming API first. You can read up on all the details here: http://apiwiki.twitter.com/Streaming-API-Documentation But, for a prototype, just dive right in. -John On Wed, Apr 14, 2010 at 9:15 PM, Mark McBride mmcbr...@twitter.comwrote: Some sample APIs... curl -uyouruser:yourpasshttp://chirpstream.twitter.com/2b/user.jsohttp://chirpstream.twitter.com/2b/user.json n Will give you a stream of your home timeline, social activity from your friends, and direct messages. curl -uyouruser:yourpass http://chirpstream.twitter.com/2b/user.jsohttp://chirpstream.twitter.com/2b/user.json n?track=#chirp Will give you all of the above, plus any tweets matching #chirp Does that clear it up? If not, I'm currently near The Coop. ---Mark http://twitter.com/mccv On Wed, Apr 14, 2010 at 6:37 PM, Kovas Boguts kovas.bog...@gmail.comwrote: Hi, Is there any description of how to use this? I don't understand how to use track with this or what is generally available for hack day. Thanks! On Apr 14, 2010, at 4:17 PM, John Kalucki j...@twitter.com wrote: Email me your account name. You are in, but not getting data. Also, is this account following anyone? Typos by iPhone. On Apr 14, 2010, at 4:11 PM, Jud jvale...@gmail.com wrote: I'm in the chrip conference IP address range, but http://chirpstream.twitter.com/2b/user.jsonusage isn't clear. - the follow predicate in a POST doesn't work (should it?) - track as a predicate gets accepted, but no data comes through (I get a single '{friends:[]}', but that's it) - am I supposed to be tracking userids or names or keywords? is the resource simply not turned on until later at/on the hackathon's network? -- To unsubscribe, reply using remove me as the subject.- Hide quoted text - - Show quoted text -
[twitter-dev] Re: Wrapping up Hovercards into a Wordpress Plugin
I don't believe it will be that simple. Perhaps creating an admin panel for the WP plugin which asks for the api key with text about how to register for one. I dont think you can get around the subdomain/ domain restriction per key any other way. On Apr 15, 3:48 pm, Rhys Wynne rhysiebo...@googlemail.com wrote: Hi guys, I've been tinkering around with the Twitter API @anywhere and I've cobbled together a wordpress plugin that allows hovercards to be displayed on blogs, specifically my blog. However, when testing on friend's sites, whilst the actual hovering works, clickthroughs don't. I suspect the reason is obvious - API keys the fact that my blog's URL is required for callbacks etc. Is there a way I can package it up so that users can download a wordpress plugin, activate it it's good to go? Ideally I don't want people signing up for API keys left, right centre as it just seems a little pointless. Does Wordpress have an API key that can be used with @anywhere? Just playing with the software, keep up the great work! Rhys -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Re: @Anywhere + Sign in with Twitter / oAuth
I was just thinking about this earlier today. We're switching one of our projects to oAuth, and it seems a bit cumbersome to ask the user to approve access to 2 different apps from the same site. Especially considering the oAuth approval screens look totally different from each other. If it isn't on the roadmap, +1 vote from me. On Apr 15, 6:19 am, Yousef El-Dardiry yousefdard...@gmail.com wrote: I'm wondering whether we can auto sign-in users of our application to @Anywhere when they have already signed in with Twitter to our application using the oAuth API. It doesn't make sense from a user's perspective to ask the user to sign in twice. If this is not possible yet is it on the roadmap? Thanks, -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Re: oAuth Echo - Questions on Best Practices
Would appreciate any feedback or thoughts on this. On Apr 13, 3:03 pm, YCBM youcannotb...@gmail.com wrote: Ok, so I'm a bit out of the loop so I've been doing a lot of catching up on oAuth Echo starting withhttp://groups.google.com/group/twitter-development-talk/browse_thread Scenario is large number of Twitter clients accessing media upload api for our site service along with end-users sharing via browser. I understand June 2010 is the cutoff for basic auth. Some sites may be provided with xAuth on a limited basis in regards to moving everybody off basic authentication, we originally envisioned this as a mechanism for developers to exchange all the username and passwords they have in their databases for OAuth tokens en masse. Still trying to wrap my head around oAuth Echo. From what I understand, delegation from a Twitter app like TweetDeck (for example) would pass its oAuth access tokens to our site to pass to Twitter. A few questions: - xAuth seems straight-forward if granted temporary access. I assume these tokens are the same as if the end-user went through the normal oAuth process in a browser? New users to the 3rd party web site would be using oAuth. - Typically if a user is sharing a media file through our site and they are NOT registered (no account in our system) and have never logged in using oAuth on our site, we create an account for them. Can we store the access tokens from an external app when we create their account? If so, would there be a conflict if an event occurs in which we post a status update on their behalf without the delegation in the header? Or is it a one-time use thing? - Once the user visits our site and logs into Twitter using oAuth, we'll store those tokens. Is it best practice to use those whenever the same user shares a media file through an external app or should the delegated tokens always be used? - Finally, while Twitter may be depreciating basic auth and everyone (if they haven't already) will be using oAuth, is there a plan for users who use 3rd party Twitter apps for mobile devices that HAVE NOT upgraded to the latest version yet? Although xAuth is geared towards desktop and mobile apps, there may be quite a few users who have not upgraded their app trying to either use it or share media with it through sites like ours. - I did notice that on this pagehttp://apiwiki.twitter.com/Authentication, its confusing as to whether or not basic auth will be completely depreciated. If it will be, someone should update it as its misleading. Thanks in advance! Best, Y.
[twitter-dev] Re: Is it OK to store token in Windows Registry?
I agree with the obscure comment. For better or worse, I am trying to design a solution for a semi- public machine, so multiple users may be using the same application installation, and each user has their own registry settings. (The other registry settings are innocuous, but I am trying to trade off user convenience with user security.) If I understand it correctly, the token secret is tied to a user- external-application tuple. If so, then just having the token secret would only allow a malicious 3rd-party to post a Twitter status using the authorized application. Since we require the use authenticate to Twitter at the start of each application session, I was hoping that this would mitigate the risk of storing the token secret I the registry. (Of course, I am also expecting the user of a semi-public machine to close the application when they are finished…) Further thoughts? On Apr 15, 7:53 am, Andrew Badera and...@badera.us wrote: The Windows Registry is NOT secure -- it is at best obscure. Is it a good place to store information? Maybe. Matter of opinion. Consider a secured machine datastore as well. However anyone with physical access to the machine has everything they need to access anything they want, given a little patience and tech skill. Why do you need a secure location for a user token? It's just the user who has access, right? Or are you referring to your application's key, and not the user key? If so, there's really no good way to secure that with current iterations of OAuth. The mechanism is fallible for desktop apps. 2.0 may address some of that. ∞ 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 Thu, Apr 15, 2010 at 10:43 AM, Rich richard.frain...@gmail.com wrote: My question is similar to this post http://groups.google.com/group/ twitter-development-talk/browse_thread/thread/ 5d37e76f8efed028/2052210d4cd2bcea?lnk=gstq=token#2052210d4cd2bcea. I am using TweetSharp 1.0 with a WPF 3.0 C# application. I request that the user allow the desktop application to update their status at certain times in our application workflow. If the user grants permission, I store the access token and access token secret in the registry for use in future sessions. I could encrypt the token secret before persisting in the registry, and decrypt before using in my call to Twitter, but the encryption key would still be in the desktop application. This seems a bit better than not encrypting the token secret, but is the gain in security significant? -- To unsubscribe, reply using remove me as the subject.- Hide quoted text - - Show quoted text -
[twitter-dev] Verify user connect with @anywhere?
I am wanting to use @anywhere to allow users to login to my website, but I am curious about how to implement proper security. Right now when a user hits the Connect With Twitter button on my website and signs in via the popup window, the button changes to say Connected with Twitter. So far so good. I can then run things like: screenName = twitter.currentUser.data('screen_name'); However, I want to be able to send the currentUser's id or twitter username to my server to log them into my website as well. I want to check their id/username against my database, and store it if it doesn't exist, then log them in. So, the response that I get from running: twttr.anywhere(onAnywhereLoad); contains their username/id and some other information, but if I sent this to my server via javascript to login, there's nothing stopping someone from making a fake request containing a different username to login. With Facebook's Connect API I get a cookie set that I can then use with my secret to verify that the request is really from Facebook, is there an equivalent of this in Twitter? Does this require me to use oAuth? Again, all I'm trying to do is allow users to sign in to Twitter via @anywhere on my site then send their username/id to my server to log them into my application based on that username/id. I just need to be able to validate that the data being sent to my server (username/id) was really set by Twitter. Any thoughts? Thanks! -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] @anywhere Follow Button Issue
Hi - I am working with the @anywhere Follow Button option. I added it to my page - I have several buttons on the page for different users - after a couple of refreshes, the buttons always change to a yellow ! and a xyz user not found and you can't click on the button. After a period of time (seems like 20 mins), the buttons start working again - that is they become blue with the follow link. I asked a friend who codes a bunch of Twitter and he doesn't think it's a rate limiting issue - so I would love some help with figuring out what's going on. I've tried hitting the site from multiple computers as well with the same issue. Any help is greatly appreciated. -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en