Re: [twitter-dev] user data not getting in previous format.
Few months back when i started my work on twitter api, it was giving me key value(xml format) as response to my requested url(such as follower list, rate limit, etc.), but now it is not giving response in key value format. Kindly F1. Thank you in advance. On Mon, May 17, 2010 at 9:15 PM, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Rushi, Trying to understand your problem better -- are you using an intermediary Twitter library of some sort? Can you give some examples of the API requests you are making? The request URI including parameters? Are you using basic auth or OAuth? Are you appending .xml as the extension to the request when you are expecting XML data? Is there any kind of proxy between your requesting machine and the Twitter API? Taylor Singletary Developer Advocate, Twitter http://twitter.com/episod On Mon, May 17, 2010 at 8:37 AM, Rushikesh Bhanage rishibhan...@gmail.com wrote: Hi there, I got a big problem right now. I was getting user data, ratelimit, followers list in xml with key value pairs but now I am getting only values. Due to this the app i am developing , giving error as INVALID ARGUMENTS SUPPLIED FOR METHOD. I checked that, json format gives key-value pair. is there any updates about this. Getting key value in json format but it needs to save. Do we need to always save .json response.? waiting eagerly, thank you in advance. with regards, Rushi -- Warm Regards, Gaurav Shaha 9823359549. Don't try to show off, just be youself and do what you ENJOY doing
Re: [twitter-dev] Problem in getting rate-limit status with OAuth.
Like Rushikesh i am also facing same problem, before my application start working i need to check weather i have ample of call remaining to complete my task for that i had white listed my 2-3 accounts. so the idea that i am thinking is if the OAuth shall give me the remaining call then as per that i should switch automatically to my next white listed account without acknowledging user. Thank you in advance. On Tue, May 4, 2010 at 7:26 PM, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Rushikesh, You're asking a few things here, so I'll try to help clear them up: - Your app will need to do some kind of authentication for each of the users. If your application is a web application, and you plan to have more than just the two users you've mentioned, you'll want to implement the entire OAuth 1.0a flow: request token acquisition, sending the user to Twitter's authentication page, and then exchanging the request token for an access token. You would then use the access token for each member to make API calls. If the pool of users for your application will not go beyond the two you mentioned, you might find yourself better served by applying for a one-time use of xAuth to exchange your login credentials for access tokens. If you're building a desktop or mobile application, you will want to use either the OAuth 1.0A PIN/oauth_verifier flow or use xAuth. - Rate limiting is communicated through HTTP headers in the responses you get from the API server. See http://dev.twitter.com/pages/rate-limiting - You can also use the http://api.twitter.com/1/account/rate_limit_status end point to query on rate limits. When using an access token in the request, the response will indicate the rate limit status for the user represented by that access token. If you aren't using an access token, it will indicate the rate limit for the IP address. Taylor Singletary Developer Advocate, Twitter http://twitter.com/episod On Tue, May 4, 2010 at 2:00 AM, Rushikesh Bhanage rishibhan...@gmail.comwrote: Hi there, I am studying Abraham's code on github for Oauth to deal with my problem. In my app, user is not going to do authentication. I have two account with(username/password) and I have to use it to get ratelimit status. Studying code shows that, it is redirected(redirect.php) to twitter's window for user authentication. So instead of authenticating user on authentication window, can I get ratelimit status of these two accounts authenticated through the code on github. Is it possible to do or alternatively what should I do? can you suggest me any clue, please? Thank you in advance. -- Warm Regards, Gaurav Shaha 9823359549. Don't try to show off, just be youself and do what you ENJOY doing
[twitter-dev] Last Login and Application
Is there any way for which we can get when user was last logged in?? And also i want to check weather specified user is any application such as TweetMeme, Seesmic, CoTweet, Google Wave, etc. Thank you in advance. -- Warm Regards, Gaurav Shaha 9823359549. Don't try to show off, just be youself and do what you ENJOY doing
Re: [twitter-dev] How to get Following count of user
It is showing page not found error On Fri, Dec 18, 2009 at 10:05 AM, Abraham Williams 4bra...@gmail.comwrote: Try using: http://apiwiki.twitter.com/Twitter-REST-API-Method:-users show there is a followers_count element. Abraham On Thu, Dec 17, 2009 at 22:03, Gaurav Shaha gauravshah...@gmail.comwrote: Hello All, I am sending request to http://twitter.com/statuses/friends/'.$user.'.xml?cursor=-1http://twitter.com/statuses/friends/%27.$user.%27.xml?cursor=-1 url for getting the following list. I am not able to get the count of the following. Also i had read that this url provide only 100 records so how can i get all the follwer count of twitter user ($user) ? How can i get it? Thank you in advance. -- Warm Regards, Gaurav Shaha 9823359549. Don't try to show off, just be youself and do what you ENJOY doing -- Abraham Williams | Awesome Lists | http://bit.ly/sprout608 Project | Intersect | http://intersect.labs.poseurtech.com Hacker | http://abrah.am | http://twitter.com/abraham This email is: [ ] shareable [x] ask first [ ] private. -- Warm Regards, Gaurav Shaha 9823359549. Don't try to show off, just be youself and do what you ENJOY doing
Re: [twitter-dev] How to get Following count of user
thank you, but i want following count. does friends_count mean following count??? On Fri, Dec 18, 2009 at 1:54 PM, Damon Clinkscales sca...@pobox.com wrote: On Fri, Dec 18, 2009 at 2:09 AM, Gaurav Shaha gauravshah...@gmail.com wrote: Try using: http://apiwiki.twitter.com/Twitter-REST-API-Method:-usersshow there is a followers_count element. Yeah, that doc's not coming up right now. It looks like this: $ curl http://api.twitter.com/1/users/show/nightmare49.xml; 21 | grep followers_count followers_count10/followers_count --- -damon -- Warm Regards, Gaurav Shaha 9823359549. Don't try to show off, just be youself and do what you ENJOY doing
[twitter-dev] List of Follower
How to get list of user followers without asking my password(i.e. authentication) Thank you in advance, currently i am using request url as http://twitter.com/statuses/followers.xml; which need username as well as password. -- Warm Regards, Gaurav Shaha 9823359549. Don't try to show off, just be youself and do what you ENJOY doing
[twitter-dev] How to get Following count of user
Hello All, I am sending request to http://twitter.com/statuses/friends/'.$user.'.xml?cursor=-1 url for getting the following list. I am not able to get the count of the following. Also i had read that this url provide only 100 records so how can i get all the follwer count of twitter user ($user) ? How can i get it? Thank you in advance. -- Warm Regards, Gaurav Shaha 9823359549. Don't try to show off, just be youself and do what you ENJOY doing
[twitter-dev] http://github.com/jwage/Twitter
After running the example.php i am getting following errors. *Warning*: Unexpected character in input: '\' (ASCII=92) state=1 in * C:\wamp\www\Twitters\example.php* on line *5* *Warning*: Unexpected character in input: '\' (ASCII=92) state=1 in * C:\wamp\www\Twitters\example.php* on line *5* *Parse error*: syntax error, unexpected T_STRING in * C:\wamp\www\Twitters\example.php* on line *5 *Thank You in advance,* * -- Warm Regards, Gaurav Shaha 9823359549. Don't try to show off, just be youself and do what you ENJOY doing
[twitter-dev] Re: Check when a friendship was created
Hey can you provide me the code for getting the list of Following of specific twitter user. Thank you in advance. On Mon, Oct 26, 2009 at 4:43 AM, TylerC tyle...@gmail.com wrote: I am seeking the need to know when a friendship or when I have followed a given user. Basically, I want to scan my account for people I have been following, enter a given number of days, and unfollow them if they have not followed me back in that timespan. I have it all worked out expect for checking when I followed a given person. Is there no way to do this via the API, from the looks of it I would have to do this artificially with a database or something right? Thanks! -- Warm Regards, Gaurav Shaha 9823359549. All Persons have weakness.. But each will have one particular Strength.. That will overwrite all weakness, if u believe in URSELF
[twitter-dev] Re: Welcome the the Twitter Development Talk
Hey can you help? I want the list of following of a specific user using php. Kindly revert solution if you know it. On Fri, Oct 23, 2009 at 10:56 AM, Dave Briccetti da...@davebsoft.comwrote: I meant to send that to list owner. Sorry. -- Warm Regards, Gaurav Shaha 9823359549. All Persons have weakness.. But each will have one particular Strength.. That will overwrite all weakness, if u believe in URSELF
[twitter-dev] Re: Welcome the the Twitter Development Talk
My requirement is to get Following list not Follower list. On Fri, Oct 23, 2009 at 9:33 PM, ryan alford ryanalford...@gmail.comwrote: http://apiwiki.twitter.com/Twitter-REST-API-Method:-followers idshttp://apiwiki.twitter.com/Twitter-REST-API-Method:-followers%C2%A0ids On Fri, Oct 23, 2009 at 2:41 AM, Gaurav Shaha gauravshah...@gmail.comwrote: Hey can you help? I want the list of following of a specific user using php. Kindly revert solution if you know it. On Fri, Oct 23, 2009 at 10:56 AM, Dave Briccetti da...@davebsoft.comwrote: I meant to send that to list owner. Sorry. -- Warm Regards, Gaurav Shaha 9823359549. All Persons have weakness.. But each will have one particular Strength.. That will overwrite all weakness, if u believe in URSELF -- Warm Regards, Gaurav Shaha 9823359549. All Persons have weakness.. But each will have one particular Strength.. That will overwrite all weakness, if u believe in URSELF