[twitter-dev] Re: not authorized over and over again

2010-10-01 Thread Thai Pangsakulyanont
You have to make sure that `Twitterh.OAuth_token` and `Twitterh.OAuth_token_secret` stays same before and after restarting the application. Also, make sure that `oauth_timestamp` is up to date and `oauth_nonce` is unique each time you make a request. On Oct 1, 6:05 am, eMailaya a...@emailaya.com

[twitter-dev] twitter oauth :geting undefined index: oauth_token_secret in

2010-10-01 Thread bharani
Hi am trying to post tweets using oauth (PHP) i created the application in my twitter account , i executed some open source script but that produce the below error, Notice: Undefined index: oauth_token_secret in How to fix this issue my snippet require_once('twitterOAuth/twitterOAuth.php');

[twitter-dev] undefined index: oauth_token_secret in

2010-10-01 Thread bharani kumar
Hi , When i run my oauth snippet am getting this error, Refer some good open source oauth, Thanks -- Regards B.S.Bharanikumar http://php-mysql-jquery.blogspot.com/ -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter:

[twitter-dev] Twitter user's email

2010-10-01 Thread Imran
Is there any way to get user's email address using Twitter API? Thanks Imran -- 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

Re: [twitter-dev] Re: Help converting Basic Auth to oAuth

2010-10-01 Thread Lorraine
Thanks again, but now am getting: Warning: Invalid argument supplied for foreach() It looks correct to me, so I'm confused about the warning. Thanks Lorraine On Fri, Oct 1, 2010 at 3:54 AM, Abraham Williams 4bra...@gmail.com wrote: You don't need the cURL and XML code.

[twitter-dev] Re: not authorized over and over again

2010-10-01 Thread eMailaya
* please read my comments inside the * i store the token and token secret and i checked and they are the same here is what i do step by step until it doesnt work. first i ask for authorization and get it with a PIN. then the user enters the PIN and gets the information. first i call for the

[twitter-dev] Re: xAuth - sometimes Error with StatusCode 401, sometimes Response with StatusCode 200

2010-10-01 Thread andy
Hello again, I still have problems that I sometimes get a successful response, and a couple of times a faulty response. If I get a bad response, then four hundred and first with the status code The error message uist following: Failed to validate oauth signature and token The values that are

[twitter-dev] Re: xAuth - sometimes Error with StatusCode 401, sometimes Response with StatusCode 200

2010-10-01 Thread andy
On 27 Sep., 11:41, Tom van der Woerdt i...@tvdw.eu wrote: 401 is a general HTTP error code. The message is more important. If the message is about an invalid nonce, then you should check the timestamp. If it's about a nonce that had already been used, check the nonce. If it's a signature

[twitter-dev] Re: xAuth - sometimes Error with StatusCode 401, sometimes Response with StatusCode 200

2010-10-01 Thread andy
On 27 Sep., 11:41, Tom van der Woerdt i...@tvdw.eu wrote: 401 is a general HTTP error code. The message is more important. If the message is about an invalid nonce, then you should check the timestamp. If it's about a nonce that had already been used, check the nonce. If it's a signature

[twitter-dev] Re: xAuth - sometimes Error with StatusCode 401, sometimes Response with StatusCode 200

2010-10-01 Thread andy
Hello again, I still have problems that I sometimes get a successful response, and a couple of times a faulty response. If I get a bad response, then four hundred and first with the status code The error message uist following: Failed to validate oauth signature and token The values that are

[twitter-dev] Re: xAuth - sometimes Error with StatusCode 401, sometimes Response with StatusCode 200

2010-10-01 Thread andy
Hello again, I still have problems that I sometimes get a successful response, and a couple of times a faulty response. If I get a bad response, then four hundred and first with the status code The error message uist following: Failed to validate oauth signature and token The values that are

[twitter-dev] Re: List of @usernames

2010-10-01 Thread artesea
The problem with that method is that a) I would still need to use a large number of api calls just to build the initial list b) it requires new followers to appear on the first api call. Whilst this happens at the moment, it might not in the future. c) the api won't tell me people you have

[twitter-dev] List of new users registering on twitter datawise

2010-10-01 Thread rajiv74
Hi, Can I get the list of users registering on twitter on daily basis or date wise using twitter api? Can I also get the list of twitter users category wise? Please help as I need to implement this in one of my site. If there is no way, can you help me to suggest alternate way to get the

[twitter-dev] about image-size in newtwitter

2010-10-01 Thread Rushikesh Bhanage
Hi there, I got the new look of new twitter, and liked it a lot. The profile-image size in newtwitter has been increased from previous(48*48). When I increase the profile image size of the user(the image i get from api right now), it looks unclear, blur type. I just need to know that,

Re: [twitter-dev] about image-size in newtwitter

2010-10-01 Thread Thomas Mango
If you're using the profile_image_url from the API, you can remove the _normal from the suffix to get the original size, although you have to make sure the user doesn't have a default image. You can also use this API method: http://dev.twitter.com/doc/get/users/profile_image/:screen_name The

[twitter-dev] Failed to validate oauth signature and token in xauth

2010-10-01 Thread Hyeonjong Ryu
Yes, I know there're already plenty of questions with this same topic, but I cannot really find out the one suite for me. I use C++ and libcurl to make a HTTP POST request, and here are some ingredients that I used for POST requests. Signature base string POSThttps%3A%2F%2Fapi.twitter.com%2Foauth

[twitter-dev] Re: not authorized over and over again

2010-10-01 Thread Thai Pangsakulyanont
Everything looks normal to me, so I have no idea why it didn't work. When it said Unauthorized, did the API say anything else about it? Like incorrect signature, or something like that. On Oct 1, 5:05 pm, eMailaya a...@emailaya.com wrote: * please read my comments inside the * i store the

[twitter-dev] Re: Looking for Java class/package for Firehose

2010-10-01 Thread D. Smith
perl has the same limitation as php, I decided to use Java for streaming API because of support for threads. On Sep 30, 12:54 pm, M. Edward (Ed) Borasky zn...@borasky- research.net wrote: I've used the Perl AnyEvent::Twitter::Stream CPAN module and the Ruby   tweetstream gem. Both of them work

Re: [twitter-dev] Failed to validate oauth signature and token in xauth

2010-10-01 Thread Tom van der Woerdt
Using the Base String validator at http://quonos.nl/oauthTester/, I got this : Bad URL encoding! Both key and value in the POST body need to be URL encoded. In this case: xoan...@seed9.com is bad Tom On 10/1/10 11:34 AM, Hyeonjong Ryu wrote: Yes, I know there're already plenty of questions

[twitter-dev] Re: not authorized over and over again

2010-10-01 Thread eMailaya
the error is: http/1.1 401 unauthorized trying again (3rd time) to call the 2 calls again i succeed with getting the user's statuses but not his followees the fact that the oauth_token=X was different between the 2 first and last calls, is it ok? (each button press makes 2 calls sequentially, one

[twitter-dev] Re: List of @usernames

2010-10-01 Thread nischalshetty
a) I would still need to use a large number of api calls just to build the initial list Yeah, you have no choice. Even Twitter just fetches from the recent 500 followers only for autocompleting usernames. You can build your list slowly as background tasks once the user has authenticated you so

Re: [twitter-dev] Re: not authorized over and over again

2010-10-01 Thread Taylor Singletary
One issue with your implementation is that you are not using Twitter API URLs. Twitter API URLs have api.twitter.com as the domain and /1/ as the version before any resource. http://api.twitter.com/1/statuses/home_timeline.xml http://api.twitter.com/1/statuses/update.xml If you don't use those

[twitter-dev] Re: Bypass the OAuth callback and be authorized transparently?

2010-10-01 Thread alto
Excellent! Just tried it and it works. It takes some changes in the app code of course, but more importantly it satisfies a business requirement. Thank you Taylor. BTW, I was wondering if one should expect support for this single user scenario from other social media APIs, e.g. Facebook or

Re: [twitter-dev] List of new users registering on twitter datawise

2010-10-01 Thread Taylor Singletary
Hi there, We don't provide any kind of feed/API for polling new signups. Generally, with any service that has a large user base, the motives of an organization or developer that wants the database of users from insert service name here will be suspect. What's the use case that you'd want/employ

Re: [twitter-dev] Re: Looking for Java class/package for Firehose

2010-10-01 Thread M. Edward (Ed) Borasky
Yeah, the Perl library uses AnyEvent to achieve threading. -- M. Edward (Ed) Borasky http://borasky-research.net http://twitter.com/znmeb A mathematician is a device for turning coffee into theorems. - Paul Erdos Quoting D. Smith emai...@sharedlog.com: perl has the same limitation as php, I

Re: [twitter-dev] List of new users registering on twitter datawise

2010-10-01 Thread Rajiv Kaushal
Hi Taylor, Thanks for clarification. Actually, my thought was to create new page for every user on website signing up on twitter where one can update his other information later. Next, Can I get list of users for particular category/suggestion[e.g Business, Family, Fashion] not with

[twitter-dev] Re: Site Streams - Unfollow Events?

2010-10-01 Thread Justin
It sounds like it's the same (NO) for both: Friendship Events Created - To you, from you Deleted - From you So, unfollow events from you not to you as the target. There doesn't seem to be any way to tell when someone stops following other than using the rest API to check followers and compare it

Re: [twitter-dev] Re: Site Streams - Unfollow Events?

2010-10-01 Thread Tom van der Woerdt
Correct. I'd like to add an additional question to this thread: what about list events? The docs say that they get sent, but they don't. http://dev.twitter.com/pages/user_streams Tom On 10/1/10 7:46 PM, Justin wrote: It sounds like it's the same (NO) for both: Friendship Events Created -

[twitter-dev] Re: not authorized over and over again

2010-10-01 Thread eMailaya
thank you for your reply 1. my app is in read/write mode - i just double checked it - and updating a new twit fails for 401 unauthorized 2. i changed the url according to what you wrote: http://api.twitter.com/1/statuses/user_timeline/... and http://twitter.com/statuses/friends_timeline.xml

[twitter-dev] Re: not authorized over and over again

2010-10-01 Thread eMailaya
partial success!!! i managed to receive both the user's statuses and the followees statuses' ! the problem was that i was storing the wrong oauth_key, why did i manage to retrieve the user's statuses? i dont know but now it's ok. so why partial? because updating the status still gives me

[twitter-dev] 403 with null response?

2010-10-01 Thread Justin
Just noticed this in my log: Oct 01/2010 12:20:05 pm : process 25236 - response NULL Oct 01/2010 12:20:05 pm : process 25236 - caught http status 403, backing off. EXITED When I get any status other than 200 I back off and log the response, in this case the response was null. My rate limit is

[twitter-dev] Re: How many user are using my app?

2010-10-01 Thread Justin
There's probably a better way, but: http://search.twitter.com/search?q=a+source:hootsuite That gets any message coming out of hootsuite with a in it, limited by the reliability of the search data of course. On Sep 30, 10:33 am, Luco lucfl...@arcor.de wrote: Hey there, is there a possibility

[twitter-dev] Re: List of new users registering on twitter datawise

2010-10-01 Thread Justin
Since the vast majority of twitter users won't ever visit your site, why not just create a page if that user or a friend visits? Check out how wefollow.com does it, it works well. On Oct 1, 12:40 pm, Rajiv Kaushal kalyanra...@gmail.com wrote: Hi Taylor, Thanks for clarification. Actually, my

[twitter-dev] Re: Custom background design

2010-10-01 Thread Justin
Just make your background and set here: http://twitter.com/settings/design Take a look at the background in the link you sited, you'll see how simple it is. http://a3.twimg.com/profile_background_images/98968019/fan_news_twitter_bg.PNG On Sep 30, 11:27 am, Erik der...@icomminteractive.com

Re: [twitter-dev] 403 with null response?

2010-10-01 Thread Taylor Singletary
Hi Justin, Do you know the exact method call you were making when you got this? Was it friends/ids ? Have you seen the error again since? Are you logging the status message in addition to the code itself? Taylor On Fri, Oct 1, 2010 at 12:45 PM, Justin justin.carl...@gmail.com wrote: Just

Re: [twitter-dev] Re: Site Streams - Unfollow Events?

2010-10-01 Thread John Kalucki
List modifications are streamed as social events. The lists themselves are not streamed. -John On Fri, Oct 1, 2010 at 11:01 AM, Tom van der Woerdt i...@tvdw.eu wrote: Correct. I'd like to add an additional question to this thread: what about list events? The docs say that they get sent, but

Re: [twitter-dev] Re: How many user are using my app?

2010-10-01 Thread John Meyer
On 10/1/2010 2:04 PM, Justin wrote: There's probably a better way, but: http://search.twitter.com/search?q=a+source:hootsuite That gets any message coming out of hootsuite with a in it, limited by the reliability of the search data of course. Other than designing your software to report

Re: [twitter-dev] Re: Site Streams - Unfollow Events?

2010-10-01 Thread Tom van der Woerdt
I tried, but I didn't see anything. Adding a new user to one of my lists didn't send anything, and removing didn't either. Haven't been able to test this outside my app, although I doubt that it's my code (it simply outputs all incoming data to debug). Tried with cURL but got an error about Basic

Re: [twitter-dev] Re: Site Streams - Unfollow Events?

2010-10-01 Thread John Kalucki
I just verified with curl and it worked fine. ? -John On Fri, Oct 1, 2010 at 2:02 PM, Tom van der Woerdt i...@tvdw.eu wrote: I tried, but I didn't see anything. Adding a new user to one of my lists didn't send anything, and removing didn't either. Haven't been able to test this outside my

Re: [twitter-dev] Re: Site Streams - Unfollow Events?

2010-10-01 Thread Thomas Mango
I'm seeing list modification events in my Site Streams. The list events I've seen are are list_member_added, list_member_removed and list_created. Tom van der Woerdt wrote: I tried, but I didn't see anything. Adding a new user to one of my lists didn't send anything, and removing didn't

[twitter-dev] Re: 403 with null response?

2010-10-01 Thread Justin
I log the status code and the full response if available, which in this case it came back null. It is likely that it was either friends/ids, or followers/ids. I checked my logs and I don't believe this has ever happened before (backend has been in use for 14 months). Everything has been working

Re: [twitter-dev] Re: Site Streams - Unfollow Events?

2010-10-01 Thread Tom van der Woerdt
I just tried again (last time I tried is about 12 hours ago) and I am getting the notifications now. Thanks. Tom On 10/1/10 11:05 PM, John Kalucki wrote: I just verified with curl and it worked fine. ? -John On Fri, Oct 1, 2010 at 2:02 PM, Tom van der Woerdt i...@tvdw.eu wrote: I

Re: [twitter-dev] Re: 403 with null response?

2010-10-01 Thread Matt Harris
Hey Justin, Thanks for the update. If it does happen again let us know with the headers and response body. We can then try and find out what happened. It's very odd for us to not return any body content on error. Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris

Re: [twitter-dev] Re: Search with geocode does not respect search radius?

2010-10-01 Thread Matt Harris
This is being investigated at the moment so were still waiting for a fix. When one is deployed we'll let you know. Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Fri, Oct 1, 2010 at 1:58 AM, Johannes la Poutre jsixp...@gmail.com wrote: Hi Taylor, Any

[twitter-dev] Re: Looking for Java class/package for Firehose

2010-10-01 Thread Justin
Alternatively, you can just dump to disk and have a separate process read through the queue. That would be ideal as you wouldn't lose any messages if your database goes down. (I guess I'm assuming your db is on it's own machine). On Oct 1, 12:11 pm, M. Edward (Ed) Borasky zn...@borasky-

Re: [twitter-dev] Re: New Tweet button, counturl, and searches

2010-10-01 Thread Matt Harris
Hey, Just wanted toclarify what is and isn't supported at the moment - and to explain the problem Adam is seeing. The Search API still supports searching by domain and matching shortened links. Remember that Search doesn't contain a complete index of Tweets but is instead based around relevance.

[twitter-dev] Ultimately send my twitter followers direct messages from my application

2010-10-01 Thread Dialflow
Hi: I was wondering if any one could suggest an elegant approach to ultimately sending direct messages to my Twitter followers from my application. I'd like people that join web site to do the following: From their member page on my site, I'd like for them to click a Twitter follow button, go