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
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
What's the base string?
Tom
On 5 sep. 2010, at 12:18, hgc2002 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 recommendations, bas
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
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 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 wrong. Probably.
Post the code?
On Sep 3, 8:53 pm, Rodrigo Berlinck 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 CodeIgniter:http://www.haughin.c
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 in
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 = tweepy.OAut
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: http://code.google.com/p/twi
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.
>
> Scot
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 indee
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 that
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 updat
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 h
Me too.
On 9月5日, 上午6时34分, vanleurth 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
> do see the
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" wrote:
> Me too.
>
> On 9月5日, 上午6时34分, vanleurth wrote:
>
> > Hey all,
>
> > I'm new to twitter development and am trying to get started. I'm
> > u
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
i
Maybe I've found the solution
http://code.google.com/p/twip/source/diff?spec=svn129&r=129&format=side&path=/branches/yegle/include/OAuth.php&old_path=/branches/yegle/include/OAuth.php&old=110
Let me know if it helps :-)
On 9月5日, 下午10时12分, "@yegle" wrote:
> Some old consumer key/secret can retur
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:
>
I would prefer an input type="hidden".
H
This just worked for me Martyn:
$object = $connection->post('friendships/create', array('screen_name' =>
'twitter'));
Abraham
-
Abraham Williams | Hacker Advocate | http://abrah.am
@abraham | http://projects.abrah.am | http://blog.abrah.am
This email is: [ ] shareable [x] ask first [
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.
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: http
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 wrote:
> 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 possibl
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 wrote:
> These questions are all answered in the
> documentation:http://dev.twitter.com/pages
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 wrote:
> These questions are all answered in the
> documentation:http://dev.twitter.com/pages
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 ספטמבר,
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
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 samp
28 matches
Mail list logo