Re: [twitter-dev] Re: About OAuth

2010-09-05 Thread Scott Wilcox
I wrote a small PHP script which can be run CLI: Its at: http://dor.ky/entry/twitter-api-oauth-update-status If you need any help adapting that to your needs, just pop me an email off list and I'll be happy to help you. Scott. On 5 Sep 2010, at 03:16, mikesouthern wrote: But ... but ... I'm

[twitter-dev] Re: Help with xAuth and PHP

2010-09-05 Thread hgc2002
Hi Tom, Thank you very much for helping me, but I'm still with failures. Now the response from Twitter is different, but I can't say it's because I've improve my code... I've added your recommendations, basicaly: .- str_replace improvements .- delete consumer secret key from request .- set the

Re: [twitter-dev] Re: Help with xAuth and PHP

2010-09-05 Thread Tom van der Woerdt
What's the base string? Tom On 5 sep. 2010, at 12:18, hgc2002 herman.go...@gmail.com wrote: Hi Tom, Thank you very much for helping me, but I'm still with failures. Now the response from Twitter is different, but I can't say it's because I've improve my code... I've added your

[twitter-dev] How does one know when a user revoked an app?

2010-09-05 Thread StuFF mc
I couldn't find some callback but I obviously need to know when a user revoked my app. Or maybe I'm doing something wrong. Probably. Here's the idea: When a user accepted (we're speaking OAuth obviously) the app, I save his screen_name. Based on that, I auto log him to twitter the next time he

Re: [twitter-dev] How does one know when a user revoked an app?

2010-09-05 Thread Tom van der Woerdt
You don't. All you can do is make an API request to verify_credentials and see if there is an error or not. Tom On 5 sep. 2010, at 12:26, StuFF mc m...@stuffmc.com wrote: I couldn't find some callback but I obviously need to know when a user revoked my app. Or maybe I'm doing something

[twitter-dev] Re: ERROR The requested URL could not be retrieved

2010-09-05 Thread Rodrigo Berlinck
Post the code? On Sep 3, 8:53 pm, Rodrigo Berlinck rodrigode...@gmail.com wrote: I will explain again. I Seto no one user of Twitter, get all that follow this user and this result returns an array, then I do a foreach to do follow and then do the unfollow. I use this library

Re: [twitter-dev] How does one know when a user revoked an app?

2010-09-05 Thread Tim Haines
Hi, You want to save their ID rather than their screen name, as screen names change often. And as Tom hinted at, there's no callback. You can either call verify_credentials the first time they show up, or wait till you attempt to make another call on their behalf and handle the failure due to

[twitter-dev] oAuth without using default browser

2010-09-05 Thread Andrea Stagi
Hi everybody, I'm developing a twitter client using Tweepy..I have a question about connection cause I've found only examples that show me how to connect Api using default web browser e.g. [.] consumer_key = consumer_secret = XX auth =

[twitter-dev] friends_ids return screen_name instead of numerical ID

2010-09-05 Thread Cori
Is there some way to use a method like friends_ids to return screen name instead of numerical ids? Thanks! -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker:

Re: [twitter-dev] Re: About OAuth

2010-09-05 Thread Mike Southern
On 9/5/10 4:26 AM, Scott Wilcox at sc...@dor.ky wrote: I wrote a small PHP script which can be run CLI: Its at: http://dor.ky/entry/twitter-api-oauth-update-status If you need any help adapting that to your needs, just pop me an email off list and I'll be happy to help you. Scott.

[twitter-dev] Re: On the demise of basic authentication.

2010-09-05 Thread mikesouthern
Aha! Perfect! Thankyou so much Marc. I knew what I was looking for - the access token and secret. But on Twitter I was looking at https://twitter.com/oauth_clients/details/x - at that site I can only get consumer key/secret. dev.twitter.com shows the button I was looking for and Bob is

[twitter-dev] Understanding /friendships/create and how to create a friendship

2010-09-05 Thread Martyn
Can anyone show me how to add a friendship in PHP? I have tried several ways and followed much of the advice on this board without luck. The documentation is vague, it states Allows the authenticating users to follow the user specified in the ID parameter. Using Abraham Williams libraries thats

[twitter-dev] Definitions page?

2010-09-05 Thread Ian Henderson
Is their a definitions page for the various fields used by Twitter? If there is - I can't find it :) I need to have a precise definition of status_date and why it is sometimes reported as blank Many thanks -- Twitter developer documentation and resources: http://dev.twitter.com/doc API

[twitter-dev] Posting tweets from twitter to our apps

2010-09-05 Thread Joshua Partogi
Hi all, I am interested to be able to integrate my apps with twitter. I intend to be able to post tweets from twitter and directly display it in my apps, like the twitter-facebook integration. Is there any API for that? I've tried reading the twitter wiki with no luck. Thanks in advance for your

[twitter-dev] Re: Where Is the oauth_verifier ?

2010-09-05 Thread @yegle
Me too. On 9月5日, 上午6时34分, vanleurth vanleu...@gmail.com wrote: Hey all, I'm new to twitter development and am trying to get started. I'm using php My basic problem is when the user gets redirected back to my app after authorizing my app on twitter, I don't get back the oauth_verifier. I

[twitter-dev] Re: Where Is the oauth_verifier ?

2010-09-05 Thread @yegle
Some old consumer key/secret can return oauth_token and oauth_verifier but new registered ones can only get oauth_token. On 9月5日, 下午9时39分, @yegle cnye...@gmail.com wrote: Me too. On 9月5日, 上午6时34分, vanleurth vanleu...@gmail.com wrote: Hey all, I'm new to twitter development and am trying

[twitter-dev] Create a favorite

2010-09-05 Thread Dan
Im very much a newbie to PHP and the Twitter API. Im trying to create a form button to set a tweet as a favorite. I have OAuth working to post status updates and i've tried to amend the status update code to set a tweet to be a favorite. Wonder if anyone could help me: $qtweet = A Twitter ID

[twitter-dev] Re: Where Is the oauth_verifier ?

2010-09-05 Thread @yegle
Maybe I've found the solution http://code.google.com/p/twip/source/diff?spec=svn129r=129format=sidepath=/branches/yegle/include/OAuth.phpold_path=/branches/yegle/include/OAuth.phpold=110 Let me know if it helps :-) On 9月5日, 下午10时12分, @yegle cnye...@gmail.com wrote: Some old consumer key/secret

Re: [twitter-dev] Create a favorite

2010-09-05 Thread CWorster
Hi, change this line: $connection-post('favorites/create', array('id' = $qtweet)); into: $connection-post('favorites/create/'.$qtweet); $qtweet = $_REQUEST['fav']; Make sure that $_REQUEST['fav'] is containing an existing ID. Check your Form: input style=width: 346px; name=fav id=fav

Re: [twitter-dev] Where Is the oauth_verifier ?

2010-09-05 Thread Abraham Williams
If you don't set a custom oauth_callback when you get your request token there will be no oauth_verifier. Abraham - Abraham Williams | Hacker Advocate | http://abrah.am @abraham | http://projects.abrah.am | http://blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private.

[twitter-dev] Hi there

2010-09-05 Thread omri
I have a few questions regarding the streaming API : How many maximum results I have in one response? Is there a limit of requests? Is it possible to make an empty query? - actually, download all the latest tweets in the system thanks, Omri -- Twitter developer documentation and resources:

Re: [twitter-dev] Hi there

2010-09-05 Thread John Kalucki
These questions are all answered in the documentation: http://dev.twitter.com/pages/streaming_api On Sun, Sep 5, 2010 at 9:57 AM, omri omridek...@gmail.com wrote: I have a few questions regarding the streaming API : How many maximum results I have in one response? Is there a limit of

[twitter-dev] Re: Hi there

2010-09-05 Thread omri
thanks, I read the API but one question is not resolved yet in my response page, how many maximum tweets can I have?(let's assume, I don't filter nothing) thanks again On 5 ספטמבר, 20:01, John Kalucki j...@twitter.com wrote: These questions are all answered in the

[twitter-dev] Re: Hi there

2010-09-05 Thread omri
thanks, I read the API but one question is not resolved yet in my response page, how many maximum tweets can I have?(let's assume, I don't filter nothing) thanks again On 5 ספטמבר, 20:01, John Kalucki j...@twitter.com wrote: These questions are all answered in the

Re: [twitter-dev] Re: Hi there

2010-09-05 Thread Tom van der Woerdt
Yeah, well, the idea of a stream is that it keeps going ;-) Tom On 9/5/10 7:52 PM, omri wrote: thanks, I read the API but one question is not resolved yet in my response page, how many maximum tweets can I have?(let's assume, I don't filter nothing) thanks again On 5 ספטמבר, 20:01,

[twitter-dev] twurl equivalent of curl's -D/--dump-header mode - or how do I get status response from Twitter?

2010-09-05 Thread TJ Luoma
I had been in the habit of using curl -D - to get the header information from Twitter to tell me Status 200 (or HTTP/1.1 200) before proceeding. It was the most reliable way that I knew of to make sure that Twitter was functioning before parsing the data that I got back from the API. I can't

Re: [twitter-dev] Re: Hi there

2010-09-05 Thread John Kalucki
If you don't specify a filter predicate, you'll get rejected. The most tweets are available on the Firehose -- where you receive all public statuses. The Firehose requires a special agreement with Twitter, and is generally not available. The next most is Gardenhose, which is currently a random