[twitter-dev] Pagination on followers/ids not working
Hello Devs, I am trying to make pagination working on follower id, but it isn't working. it just return the whole list of followers. is it normal? For example the following API call displays all of my followers, instead of being paginated: http://api.twitter.com/1/followers/ids.xml?id=hameedullahcursor=-1 Wondering if I am doing any wrong? or the pagination not working for the API call? You help in this regard will be really appreciated. Thanks, Hameedullah Khan. @hameedullah
[twitter-dev] @anywhere user login example broken
Hello Anywhere, Thanks for the hardwork, I know you guys might be under a lot of pressure, just wanted to let you know that there is a broken example at: http://dev.twitter.com/anywhere/begin#login-signup I am referring to the conditional connect button example. I was able to get it working as following: script type=text/javascript twttr.anywhere(onAnywhereLoad); function onAnywhereLoad(twitter) { // Conditionally display the Connect Button based on current logged in state: if (twitter.isConnected()) { twitter.User.current(function(currentUser) { screenName = currentUser.data('screen_name'); profileImage = currentUser.data('profile_image_url'); profileImageTag = img src=' + profileImage + '/; $('#twitter-connect- placeholder').html(Logged in as + profileImageTag + + screenName); }); } else { twitter(#twitter-connect- placeholder).connectButton(); }; }; /script I hope you will get it fixed on examples page so the new users won't waste their time finding out why it isn't working for them. Thanks, Hameedullah Khan. -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Re: @anywhere Drupal and WordPress Plugins?
On Apr 16, 11:09 am, M. Edward (Ed) Borasky zzn...@gmail.com wrote: Are there any plugins for @anywhere that will run on Drupal and WordPress? My blog is on WordPress, and I want to get rid of as many non-Twitter gizmos and widgets as possible. I'll be keeping AddToAny, since it goes to Developer Zone, and I'll be keeping Twitoaster, since it threads conversations. But I'm ditching Topsy and a couple of others as soon as I can get @anywhere running. We at Technorious have developed a wordpress plugin for our blog which we would like to share with everyone. The plugin currently only supports Twitter Anywhere. It gives you full control on where and how to display the linkify links, hovercards or followbuttons. We are working on adding Twitter Connect feature to it. You can get the current version of the plugin from: http://technorious.com/wordpress-plugins/wp-twitter-connect The plugin is still not on wordpress.org we are waiting to hear from wordpress.org Feedback is more then welcome. Thanks, Hameedullah Khan -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Re: oAuth Question
On May 22, 6:39 am, Francis Shanahan francisshana...@gmail.com wrote: The question is how long is this Access token good for? I'm finding when a user comes back even as soon as a few hours the token no longer works and they have to go Grant again. Am I doing something wrong? You must be doing something wrong, because according to twitter the Access Token never expires. For more information see: http://apiwiki.twitter.com/OAuth-FAQ#Howlongdoesanaccesstokenlast -- Thanks. Hameedullah Khan @hameedullah
[twitter-dev] Re: autenticating user using OAuth
On Apr 14, 12:37 am, Matt Sanford m...@twitter.com wrote: Hi Hameedullah, It is currently the case that you will get the Accept/Deny page every time. We're working on a redirect like Zachary mentioned and hope to have it out by the end of the week. Thats really nice to know. Thank you guys. Thanks, Hameedullah Khan.
[twitter-dev] Re: autenticating user using OAuth
On Apr 14, 12:41 am, Doug Williams d...@twitter.com wrote: Where are you storing the secret upon authorization? Is it going into persistent storage (such as a database) for future use? Yes, now storing the secret in persistent db so and using internal authentication so user does not have to go to the accept/deny page everytime. When the user logs in, I use the secret from db to make calls to twitter. Thanks, Hameedullah Khan.
[twitter-dev] Re: autenticating user using OAuth
On Apr 13, 11:59 am, Zachary Voase disturb...@googlemail.com wrote: As far as I know this is not an issue. Users only have to accept the first time they use an application; on subsequent authorization requests, Twitter will redirect them to your app straight away. Strange, I always get that Accept/Deny Page. I am wondering what I am missing. Here is what I am doing: 1. request a token from twitter. 2. Redirect user to authorization url with the token requested in 1 3. once the user returns from twitter, get the access token (or secret) from twitter based on token requested in 1. 4. use the secret for further api requests to twitter. Thanks, Hameedullah Khan
[twitter-dev] autenticating user using OAuth
Hello Twitterers, I have been building my application and everything is working fine, just I am stuck on one thing. What is the correct way to authenticate user when they come back to my site for using my application, I want to authenticate them and using Oauth, but if I Request a toaken and send them to authorization URL they have to click on the Accept button, this is okay for the first time, but if they will have to do that everytime they login to my application this will not be good. May be I am missing something, so if someone can guide me I would really appreciate it. Thanks, Hameedullah Khan.