[twitter-dev] How to get bigger profile images
How do apps like Twitpic and WeFollow use larger sized profile images?? The Twitter API's largest profile image is 73x73 (http:// dev.twitter.com/doc/get/users/profile_image/:screen_name) -- 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: How to get bigger profile images
How would I get 128x128? i.e. from http://a3.twimg.com/profile_images/290187007/n500024856_39228_3390_reasonably_small.jpg There is no indication of this in the API anywhere On Dec 13, 4:04 pm, Christian Fazzini christian.fazz...@gmail.com wrote: How do apps like Twitpic and WeFollow use larger sized profile images?? The Twitter API's largest profile image is 73x73 (http:// dev.twitter.com/doc/get/users/profile_image/:screen_name) -- 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 get bigger profile images
Actually, /1/users/profile_image/tvdw returned my 500x500 image.. All I did was upload it at twitter.com like any other user would. Tom On 12/13/10 9:10 AM, Christian Fazzini wrote: How would I get 128x128? i.e. from http://a3.twimg.com/profile_images/290187007/n500024856_39228_3390_reasonably_small.jpg There is no indication of this in the API anywhere On Dec 13, 4:04 pm, Christian Fazzinichristian.fazz...@gmail.com wrote: How do apps like Twitpic and WeFollow use larger sized profile images?? The Twitter API's largest profile image is 73x73 (http:// dev.twitter.com/doc/get/users/profile_image/:screen_name) -- 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: How to get bigger profile images
I know that. Thats not what I am asking for. I am wondering how Twitpic is able to get 128x128 when we can only get 73x73 as the largest thumbnail. For example. Image I originally uploaded is stored at this url. http://a3.twimg.com/profile_images/290187007/n500024856_39228_3390.jpg Twitpic uses: http://a3.twimg.com/profile_images/290187007/n500024856_39228_3390_reasonably_small.jpg On Dec 13, 4:30 pm, Tom van der Woerdt i...@tvdw.eu wrote: Actually, /1/users/profile_image/tvdw returned my 500x500 image.. All I did was upload it at twitter.com like any other user would. Tom On 12/13/10 9:10 AM, Christian Fazzini wrote: How would I get 128x128? i.e. from http://a3.twimg.com/profile_images/290187007/n500024856_39228_3390_re... There is no indication of this in the API anywhere On Dec 13, 4:04 pm, Christian Fazzinichristian.fazz...@gmail.com wrote: How do apps like Twitpic and WeFollow use larger sized profile images?? The Twitter API's largest profile image is 73x73 (http:// dev.twitter.com/doc/get/users/profile_image/:screen_name) -- 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 get bigger profile images
Well, the API returns (in my case) http://a3.twimg.com/profile_images/1079883403/_MG_0016_normal.jpg. Replacing _normal.jpg with _reasonably_small.jpg (so that it becomes http://a3.twimg.com/profile_images/1079883403/_MG_0016_reasonably_small.jpg) seems to work. Tom On 12/13/10 10:15 AM, Christian Fazzini wrote: I know that. Thats not what I am asking for. I am wondering how Twitpic is able to get 128x128 when we can only get 73x73 as the largest thumbnail. For example. Image I originally uploaded is stored at this url. http://a3.twimg.com/profile_images/290187007/n500024856_39228_3390.jpg Twitpic uses: http://a3.twimg.com/profile_images/290187007/n500024856_39228_3390_reasonably_small.jpg On Dec 13, 4:30 pm, Tom van der Woerdti...@tvdw.eu wrote: Actually, /1/users/profile_image/tvdw returned my 500x500 image.. All I did was upload it at twitter.com like any other user would. Tom On 12/13/10 9:10 AM, Christian Fazzini wrote: How would I get 128x128? i.e. from http://a3.twimg.com/profile_images/290187007/n500024856_39228_3390_re... There is no indication of this in the API anywhere On Dec 13, 4:04 pm, Christian Fazzinichristian.fazz...@gmail.com wrote: How do apps like Twitpic and WeFollow use larger sized profile images?? The Twitter API's largest profile image is 73x73 (http:// dev.twitter.com/doc/get/users/profile_image/:screen_name) -- 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: How to get bigger profile images
Ok, how do I connect to the Twitter API to get the reasonably small size? http://dev.twitter.com/doc/get/users/profile_image/:screen_name only accepts the following options: mini, bigger, normal On Dec 13, 5:40 pm, Tom van der Woerdt i...@tvdw.eu wrote: Well, the API returns (in my case)http://a3.twimg.com/profile_images/1079883403/_MG_0016_normal.jpg. Replacing _normal.jpg with _reasonably_small.jpg (so that it becomeshttp://a3.twimg.com/profile_images/1079883403/_MG_0016_reasonably_sma...) seems to work. Tom On 12/13/10 10:15 AM, Christian Fazzini wrote: I know that. Thats not what I am asking for. I am wondering how Twitpic is able to get 128x128 when we can only get 73x73 as the largest thumbnail. For example. Image I originally uploaded is stored at this url. http://a3.twimg.com/profile_images/290187007/n500024856_39228_3390.jpg Twitpic uses: http://a3.twimg.com/profile_images/290187007/n500024856_39228_3390_re... On Dec 13, 4:30 pm, Tom van der Woerdti...@tvdw.eu wrote: Actually, /1/users/profile_image/tvdw returned my 500x500 image.. All I did was upload it at twitter.com like any other user would. Tom On 12/13/10 9:10 AM, Christian Fazzini wrote: How would I get 128x128? i.e. from http://a3.twimg.com/profile_images/290187007/n500024856_39228_3390_re... There is no indication of this in the API anywhere On Dec 13, 4:04 pm, Christian Fazzinichristian.fazz...@gmail.com wrote: How do apps like Twitpic and WeFollow use larger sized profile images?? The Twitter API's largest profile image is 73x73 (http:// dev.twitter.com/doc/get/users/profile_image/:screen_name) -- 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 get bigger profile images
A quick look on Google gave me this code : $(#profile_image).html('img src=' + profile_image.replace('normal', 'reasonably_small') + ' /'); So just get the normal one and replace it with reasonably_small. (Of course, the above code isn't perfect, as it will also match normal in the rest of the URL, but I hope that you get the point. Tom On 12/13/10 10:44 AM, Christian Fazzini wrote: Ok, how do I connect to the Twitter API to get the reasonably small size? http://dev.twitter.com/doc/get/users/profile_image/:screen_name only accepts the following options: mini, bigger, normal On Dec 13, 5:40 pm, Tom van der Woerdti...@tvdw.eu wrote: Well, the API returns (in my case)http://a3.twimg.com/profile_images/1079883403/_MG_0016_normal.jpg. Replacing _normal.jpg with _reasonably_small.jpg (so that it becomeshttp://a3.twimg.com/profile_images/1079883403/_MG_0016_reasonably_sma...) seems to work. Tom On 12/13/10 10:15 AM, Christian Fazzini wrote: I know that. Thats not what I am asking for. I am wondering how Twitpic is able to get 128x128 when we can only get 73x73 as the largest thumbnail. For example. Image I originally uploaded is stored at this url. http://a3.twimg.com/profile_images/290187007/n500024856_39228_3390.jpg Twitpic uses: http://a3.twimg.com/profile_images/290187007/n500024856_39228_3390_re... On Dec 13, 4:30 pm, Tom van der Woerdti...@tvdw.euwrote: Actually, /1/users/profile_image/tvdw returned my 500x500 image.. All I did was upload it at twitter.com like any other user would. Tom On 12/13/10 9:10 AM, Christian Fazzini wrote: How would I get 128x128? i.e. from http://a3.twimg.com/profile_images/290187007/n500024856_39228_3390_re... There is no indication of this in the API anywhere On Dec 13, 4:04 pm, Christian Fazzinichristian.fazz...@gmail.com wrote: How do apps like Twitpic and WeFollow use larger sized profile images?? The Twitter API's largest profile image is 73x73 (http:// dev.twitter.com/doc/get/users/profile_image/:screen_name) -- 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: How to get bigger profile images
So I would have to use regex or some kind of text function to replace? A bit dirty. Why isn't reasonably small one of the options in the API? Is this deprecated? On Dec 13, 5:49 pm, Tom van der Woerdt i...@tvdw.eu wrote: A quick look on Google gave me this code : $(#profile_image).html('img src=' + profile_image.replace('normal', 'reasonably_small') + ' /'); So just get the normal one and replace it with reasonably_small. (Of course, the above code isn't perfect, as it will also match normal in the rest of the URL, but I hope that you get the point. Tom On 12/13/10 10:44 AM, Christian Fazzini wrote: Ok, how do I connect to the Twitter API to get the reasonably small size? http://dev.twitter.com/doc/get/users/profile_image/:screen_nameonly accepts the following options: mini, bigger, normal On Dec 13, 5:40 pm, Tom van der Woerdti...@tvdw.eu wrote: Well, the API returns (in my case)http://a3.twimg.com/profile_images/1079883403/_MG_0016_normal.jpg. Replacing _normal.jpg with _reasonably_small.jpg (so that it becomeshttp://a3.twimg.com/profile_images/1079883403/_MG_0016_reasonably_sma...) seems to work. Tom On 12/13/10 10:15 AM, Christian Fazzini wrote: I know that. Thats not what I am asking for. I am wondering how Twitpic is able to get 128x128 when we can only get 73x73 as the largest thumbnail. For example. Image I originally uploaded is stored at this url. http://a3.twimg.com/profile_images/290187007/n500024856_39228_3390.jpg Twitpic uses: http://a3.twimg.com/profile_images/290187007/n500024856_39228_3390_re... On Dec 13, 4:30 pm, Tom van der Woerdti...@tvdw.eu wrote: Actually, /1/users/profile_image/tvdw returned my 500x500 image.. All I did was upload it at twitter.com like any other user would. Tom On 12/13/10 9:10 AM, Christian Fazzini wrote: How would I get 128x128? i.e. from http://a3.twimg.com/profile_images/290187007/n500024856_39228_3390_re... There is no indication of this in the API anywhere On Dec 13, 4:04 pm, Christian Fazzinichristian.fazz...@gmail.com wrote: How do apps like Twitpic and WeFollow use larger sized profile images?? The Twitter API's largest profile image is 73x73 (http:// dev.twitter.com/doc/get/users/profile_image/:screen_name) -- 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: Storing multiple tokens in cookie: can I use ampersand?
Ok, thanks! I'm going to try that. jarón On 12 dec, 20:14, Tom van der Woerdt i...@tvdw.eu wrote: The best way is to urlencode() the key and secret separately, and then separating them with a space. Tom On 12/12/10 8:07 PM, jaronbarends wrote: I have a webapp in php without any database associated with it. I'm just saving the user's (encrypted) oAuth token and token secret in two separate cookies. Now I want to build in multi-user support, and I'm wondering what would be the best way to store the multiple tokens and secrets. My idea is to keep two cookies: oauth_tokens and token_secrets. I would then take the two oauth tokens, concatenate them with an ampersand, encrypt them and put them in a cookie (and the same for the secrets). As far as I know, oauth tokens and secrets can not contain any ampersands, but I'm not sure. so: 1) Does anyone know if ampersands can occur in tokens or secrets? 2) Do you think this is a good idea, or would you tackle it otherwise? 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
Re: [twitter-dev] Re: Verify twitter with ASP.NET
If I understand correctly what you suggested, it's still something the users can fake. A user can say @aplusk (Ashton Kutcher) is his username and that's fake. On Mon, Dec 13, 2010 at 7:46 AM, Robbie Coleman rob...@robnrob.com wrote: It is totally possible Chief, but it just seems a bit overkill if all you want is to get a valid twitter screen name. If you are asking a user to authorize your app, IMHO, most users will expect something in return. My thoughts are to provide the most transparency to users while also providing the least friction to them. What about the no-auth call suggestion I made? Seems simpler for you and the user. Doesn't it? hth, -- robbie -- 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: What is is_translator element in user object?
Any comment? Thanks, Yusuke On Dec 9, 6:28 pm, Yusuke Yamamoto yus...@mac.com wrote: Hi, As I stated in the subject, what is is_translator element found in user object? Thanks in advance, -- 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/ -- 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: What is is_translator element in user object?
From time to time, people can get the chance to translate parts of Twitter into their native language. These people are translators. Tom On 12/13/10 3:51 PM, Yusuke wrote: Any comment? Thanks, Yusuke On Dec 9, 6:28 pm, Yusuke Yamamotoyus...@mac.com wrote: Hi, As I stated in the subject, what is is_translator element found in user object? Thanks in advance, -- 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/ -- 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] user stream best practices
Roughly: If the tweet is from a following, place it in the home timeline. If the tweet refers to the user (to or from), or contains the @screenname place it in mentions If it's a message - messages. What remains is probably a track term. -John Kalucki http://twitter.com/jkalucki Twitter, Inc. On Fri, Dec 10, 2010 at 5:58 PM, isaiah isa...@mac.com wrote: Hi, I'm implementing user streams in my client and looking for some advice on best practices. My client supports viewing multiple timelines at the same time, so it's quite possible to, for example: view a saved search, the user's own home timeline, and another user's recent tweets. Of course, I'd love to implement these in user streams. My concern is that if each of these timelines were to open a separate stream simultaneously, then the user could easily cross over their limit of active streams. Another potential solution seems to be adding the search and the second user as tracking parameters to a single user stream. That works fine and the track parameter limitations seem to be similar to the limitations of the UI/UX of my app, so it seemed like a good fit. The challenge is that once track parameters are added to the stream I get a whole bunch of new statuses returned but i can't tell which are associated with each parameter. Or, well, I couldn't figure out how to tell short of building a regex for each of my track parameters and trying to sort the items by hand (yuck!). So my question: 1. Is there some way to disambiguate statuses returned as a specific track parameter from those returned for other reasons? 2. Is there some other way to skin this cat that I'm missing? Thanks, Isaiah -- 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: Twitter4j OAuth on Android is Simple
Hi Mukesh, thanks for sharing the code! One question I got regarding the callback url: in your sample you're using the callback url myapp://mainactivity, but how can you actually register such callback url that doesn't start with http on twitter? When I try to register such url in my app details on twitter, I would get an error Invalid url format. Or sometimes a message please contact api[at]twitter.com to add the protocol, etc. etc.. So is that the way you did as well - having the twitter api team enable the custom 'protocol' for you? Thanks! Mathias On Nov 15, 1:55 pm, Mukesh Srivastav mukicha...@gmail.com wrote: Hi All, Twitter4jOAuthforAndroidexample by Mukesh,this example would help you to understand the usage of Intent after succesfully authentication usingOAuthinAndroid. make use of it and enjoy.. About :OAuth OAuthis an open protocol that allows users to hand out tokens instead of usernames and passwords to their data hosted by a given service provider. With Twitter finally deciding to deprecate the existing Basic Authentication by June, most of the apps would have to implementOAuthfor Twitter. While implementingOAuthfor Twitter onAndroidplatform, I came across hell of out of tutorials and blogs, some might gives different ways of usingOAuth. below is the example where i have tried the easiest way to implement Twitter4j and the challenges you may face. Step 1: First step for creating the solution is registering an app with Twitter. You can do that by filling in details at this URL: Twitter. Some basic info like Application icon, App name etc are needed. The two most important details to be provided are, type of Application and Callback URL. Select type of application as Browser. Now callback url could be any valid url. Default Action should be : Select as Read and Write Once you successfully fill up all the details, you would get Consumer Key and Consumer Secret from Twitter. These are the keys Twitter uses for identifying your app so note it down carefully. Step 2: Download signpost-commonshttp4-1.2.jar , signpost-core-1.2.jar, twitter4j-core-2.1.0.jar file and add your project libs. I'm using signpost-commonshttp4 and signpost-core open-source libraries for implementation. Step3: Create aAndroidApplication, Add the above downloaded jar files into your projects, add internet permissions to your project manifest file. Below is the code which can be reuse. package com.sogeti.msl; import java.sql.Date; importoauth.signpost.OAuthProvider; importoauth.signpost.basic.DefaultOAuthProvider; importoauth.signpost.commonshttp.CommonsHttpOAuthConsume r; importandroid.app.Activity; importandroid.content.Intent; importandroid.net.Uri; importandroid.os.Bundle; importandroid.util.Log; importandroid.widget.Toast; import twitter4j.Twitter; import twitter4j.TwitterFactory; import twitter4j.http.AccessToken; importandroid.widget.Button; importandroid.widget.TextView; import com.sogeti.msl.R; public class OAuthForTwitter extends Activity { private CommonsHttpOAuthConsumer httpOauthConsumer; private OAuthProvider httpOauthprovider; publicfinalstatic String consumerKey = sdOjEI2cOxzTLHMCCMmuQ; publicfinalstatic String consumerSecret = biI3oxIBX2QMzUIVaW1wVAXygbynuS80pqSliSDTc; privatefinal String CALLBACKURL = myapp://mainactivity; private Twitter twitter; private TextView tweetTextView; private Button buttonLogin; // static Twitter jtwit; /* * * OnCreate method for class */ @Override publicvoid onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); tweetTextView = (TextView)findViewById(R.id.tweet); buttonLogin = (Button)findViewById(R.id.ButtonLogin); setContentView(R.layout.main); doOauth();} /** * Opens the browser using signpost jar with application specific * consumerkey and consumerSecret. */ privatevoid doOauth() { try { httpOauthConsumer = new CommonsHttpOAuthConsumer(consumerKey, consumerSecret); httpOauthprovider = new DefaultOAuthProvider(http://twitter.com/oauth/ request_token, http://twitter.com/oauth/access_token;, http://twitter.com/oauth/authorize;); String authUrl = httpOauthprovider.retrieveRequestToken(httpOauthConsumer, CALLBACKURL); this.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(authUrl)));} catch (Exception e) { Toast.makeText(this, e.getMessage(), Toast.LENGTH_LONG).show();} } /** * After use authorizes this is the function where we get back callbac with * user specific token and secret token. You might want to store this token * for future use. */ /* @Override protected void onNewIntent(Intent intent) { super.onNewIntent(intent); Uri uri = intent.getData(); //Check if you got NewIntent event due to Twitter Call back only if (uri != null uri.toString().startsWith(CALLBACKURL)) { String verifier = uri.getQueryParameter(oauth.signpost.OAuth.OAUTH_V ERIFIER); Toast.makeText(this, verifier,
[twitter-dev] Curious to know if this is the right behavior
Hi. I am new to using twitter apis to get the tweets from a particular user. But while trying to fetch the tweets using http://twitter.com/statuses/user_timeline/user.json?callback=twitterCallback2amp;count=10 or similar url, I was able to retrieve tweets from users even if the tweets were protected. Is this the correct behavior? -- 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] Curious to know if this is the right behavior
Not seeing that behavior here, when not using OAuth. Of course, if you use OAuth, you can view the tweets of the people the user is following.. (Test URL I used is: http://twitter.com/statuses/user_timeline/elinetabak.json?callback=twitterCallback2count=10) Tom On 12/13/10 8:23 PM, satinder rana wrote: Hi. I am new to using twitter apis to get the tweets from a particular user. But while trying to fetch the tweets using http://twitter.com/statuses/user_timeline/user.json?callback=twitterCallback2amp;count=10 or similar url, I was able to retrieve tweets from users even if the tweets were protected. Is this the correct behavior? -- 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: Curious to know if this is the right behavior
Thanks Tom I think I should go through the OAuth for a better understanding of how it works :) Thank you for a prompt reply. Regards On Dec 14, 12:38 am, Tom van der Woerdt i...@tvdw.eu wrote: Not seeing that behavior here, when not using OAuth. Of course, if you use OAuth, you can view the tweets of the people the user is following.. (Test URL I used is:http://twitter.com/statuses/user_timeline/elinetabak.json?callback=tw...) Tom On 12/13/10 8:23 PM, satinder rana wrote: Hi. I am new to using twitter apis to get the tweets from a particular user. But while trying to fetch the tweets using http://twitter.com/statuses/user_timeline/user.json?callback=twitterCallback2amp;count=10 or similar url, I was able to retrieve tweets from users even if the tweets were protected. Is this the correct behavior? -- 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] Twitter incorrectly oEmbedding Github gists
Hey dudes, Since there's no where else to post this news, i thought i'd mention that links like this: http://twitter.com/#!/dojo4/status/13323833742204928 Do not correctly oembed gists. Having discussed the issue with github, they rightly point out that their endpoint is correctly outputting gists: http://twitter.com/#!/GitHubHelp/status/12009103031279616 However they're not being displayed. Just thought someone should know, -T -- 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] Twitter incorrectly oEmbedding Github gists
Seems to work fine here : http://ygm.be/fyjhMn (image, 1280x800, 139KB) Tom On 12/13/10 8:56 PM, Ted Han wrote: Hey dudes, Since there's no where else to post this news, i thought i'd mention that links like this: http://twitter.com/#!/dojo4/status/13323833742204928 Do not correctly oembed gists. Having discussed the issue with github, they rightly point out that their endpoint is correctly outputting gists: http://twitter.com/#!/GitHubHelp/status/12009103031279616 However they're not being displayed. Just thought someone should know, -T -- 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] search and profile in the same widget
can I have both search and profile type in the same twitter widget -- 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] Simple post from a web app
Extreme newbie question. I just registered my web app to my twitter account. I want to programmatically post to the twitter account from the web application. It is written in ASP.NET / C#. I am looking for the most direct how-to document or examples. Thanks 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
[twitter-dev] @Anywhere follow and update events?
Hi, I am using the hovercards and T.Status.update() functionality in @Anywhere. I was wondering if it possible to specify event callbacks when the user has successfully followed or tweeted. I've looked through the documentation and searched and didn't seen anything, but maybe I missed something? Thanks! Jim -- 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] How to pull tweets excepting all that include @username and/or are Retweets?
Hi guys, Looking to see if anyone knows how to pull only tweets that are plain text or external links, but dont have any @username and/or retweets on them. I have a jquery that pulls a search for tweets based on a keyword and it streams it in a cool layout, but the tweets are so full of these @s and RTs that its pretty difficult to read them. My users are asking for an option to see tweets plain text or w external links (sites, pics, videos) only. Any help would be greatly appreciated. Thx G -- 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] How to pull tweets excepting all that include @username and/or are Retweets?
Just filter them out manually. As far as I know, there's no API method that gives you this information. Tom On 12/13/10 11:12 PM, Guillermo wrote: Hi guys, Looking to see if anyone knows how to pull only tweets that are plain text or external links, but dont have any @username and/or retweets on them. I have a jquery that pulls a search for tweets based on a keyword and it streams it in a cool layout, but the tweets are so full of these @s and RTs that its pretty difficult to read them. My users are asking for an option to see tweets plain text or w external links (sites, pics, videos) only. Any help would be greatly appreciated. Thx G -- 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] Twitter Stream how to filter on location and terms vs. the default OR of the twitter stream
HI All, I am new to the Twitter API. I am working on a project where I want to filter the Twitter stream on both the location and a set of terms. My understanding from reading the location section is by default an OR.IF I filter rain and London 1/statuses/filter.json?track=twitteramp;locations=-0.1,51.4,0.0,51.6 I will get tweets that are either in London or either contain rain. What I want to filter so I only get Tweets from London and only contain the term rain. I working in Processing using the Tweet Stream Library.by Mark McBride: http://mccv.github.com/processing-tweet-stream/ Any advice or guidance is greatly appreciated. Twitter4J Library --- I have also download and tried the Twitter4J library with Processing.. http://twitter4j.org/en/index.html But I can't get it show up in the Processing Menu/Sketch/Import I followed the instructions here but that didn't help: http://blog.blprnt.com/blog/blprnt/quick-tutorial-twitter-processing If anyone can help with either/or issue. I will greatly appreciate it. Thanks, Paba -- 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] How to get twitter oauth callback url returned to activity (on Android)?
How to get twitter oauth callback url returned to activity (on Android) when it's a callback url starting with http - or alternatively: how to register a callback url that doesn't start with http? I want to use signpost/OAuth with Twitter in my native Android app so that I have an activity handling the callback url (and user doesn't need to enter the pin or the pin doesn't need to be screen scraped). I found many posts with samples like: Oauth Callback not found after allowing the app on Twitter. http://dev.bostone.us/2009/07/16/android-oauth-twitter-updates/#idc-cover http://code.google.com/p/agirardello/ and they all use a callback url that doesn't start with http. For example: data android:scheme=myapp android:host=twitt/data But how to register a callback url in the twitter app settings? I'm always getting 'invalid url format' when submitting the app settings form. I suppose, since I am in the browser already when the twitter site calls the callback url, I cannot just use http as the scheme (I tried to use http://www.mydomain.com and set http as the scheme and www.mydomain.com as the host). At least in my test, I won't be redirected to the app but remain in the browser and the callback url is opened in the browser. (I also cleared the defaults of the browser app before.) data android:scheme=http android:host=www.mydomain.com/data -- 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] Single-Sign-On for own app and native Twitter app (like Facebook SDK)
Is there a way to authenticate via OAuth in a single-sign-on manner like the Facebook SDK offers? Means, that when I call the authorize url, I would come to the native Twitter app (not browser or webview), eventually login (if not yet) and allow access to my app there, then return to my own app - but I will stay signed in in the native Twitter app as well. -- 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] Garden Hose Access
Hi all, I have been reading and trying to find some information related to the garden hose access. My question is, how do we access to the garden hose and is it now only 3% compare to the spritzer ? Is there any similar around 10~15% access because I need to use it for academic research purpose. Thank you. Regards, Andy -- 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: Xauth 401 error....T^T by iOS
Your xAuth is not approved and activated yet - 401 error On Dec 12, 6:59 pm, Mchello mchel...@gmail.com wrote: I use this source athttps://github.com/aral/XAuthTwitterEngine first.. I register my App at dev.twitter.com and send message to a...@twitter.com .. about Xauth Key.. and i get consumerKey and consumerSecret.. I change consumerKey and consumerSecret line at XauthTwitterEngine I can get tokenString but.. i send twit message.. i get 401 error.. my id and password not wrong.. everybody success use this source.. but i can't please send to me .. why 401 error.. if you want my consumerKey and Secret .. I can.. mche...@me.com == please .. -- 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] friendships/destroy Could not authenticate you
Here's the code: $params = array('user_id'= 16685316); $oauth = new TwitterOAuth( TWITTER_OAUTH_CONSUMER_KEY, TWITTER_OAUTH_SECRET_KEY, $user-getOauthToken(), $user-getOauthTokenSecret() ); Log::debug(params, $params); $result = $oauth-post('friendships/destroy', $params); Log::debug(result, $result); if (isset($result-error)) { return false; } return true; Problem is all requests to both friendships/destroy and friendships/ create fail with the following: stdClass Object ( [request] = /1/friendships/destroy.json [error] = Could not authenticate you. ) HOWEVER, using the exact same user object in memory I can successfully get my personal timeline. ?? -- 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