Thanks in advance.
--
Alex Payne
http://twitter.com/al3x
--
Alex Payne
http://twitter.com/al3x
--
Alex Payne
http://twitter.com/al3x
On Apr 22, 2007, at 12:39 AM, ander...@abiro.com wrote:
>
> direct_messages and new always return 404 "User not found". Should
> they work? Needed to set up Instant Messaging in my account?
>
--
Alex Payne
http://twitter.com/al3x
On Apr 22, 2007, at 8:41 AM, ander...@abiro.com wrote:
>
> It's said early on that updates and direct messages need POST, but if
> so the syntax is wrong for 'update' and 'new' (arguments part of the
> URL). Also, it says at 'update' that it needs POST, but not at 'new'.
>
--
Alex Payne
http://twitter.com/al3x
On Apr 22, 2007, at 8:47 AM, ander...@abiro.com wrote:
>
> Also, the syntax for 'new' is wrong in that the file type is not shown
> in the URL.
>
> I'll stay away from direct messages for now.
>
Since you can see a user's timeline on the web without being logged
into twitter (given they don't protect their updates), I go for
"right".
Mario.
--
Alex Payne
http://twitter.com/al3x
Got it!
> curl -v -d status=Hohoho -u guillaume7:XXXX http://twitter.com/statuses/update.xml
Sorry for bothering ya,
G.
Click on http://groups.google.com/group/twitter-development-talk/web/api-documentation
- or copy & paste it into your browser's address bar if that doesn't
work.
--
Alex Payne
http://twitter.com/al3x
Ed
I'd suggest URL encoding what you send to us. Seems to work for most
international users.
Silly question, but the Perl you're using is fully UTF-8, right?
--
------------------------------------ personal: http://www.cameronkaiser.com/ --
Cameron Kaiser * Floodgap Systems * www.floodgap.com * cka...@floodgap.com
-- Software sucks because users demand it to. -- Nathan Mhyrvold, Microsoft ---
my $status = shift;
my $ua = LWP::UserAgent->new();
utf8::upgrade( $status );
my $req = POST 'http://aap_ugr:xxx...@twitter.com/statuses/
update.xml',
[ status => $status ];
my $res = $ua->request($req);
if ($res->is_success) {
my $respuesta=XMLin($res->content);
print "El mensaje ", $respuesta->{'text'}, " ha recibido el ID ",
$respuesta->{'id'}, "\n";
} else {
die $res->status_line;
}
--
JJ
On 6/28/07, keaton...@gmail.com <keaton...@gmail.com> wrote:
>
> Umm, how would you find out the number of tweets a user has posted?
>
>
im trying to use the http basic auth with php and i have had to luck,
using either fsocketopen. or indeed fopen.
Please Help
Barry Carlyon
I've made a (hopefully minor) change to the Twitter API. The /statuses/
friends method will now return a maximum of 100 friends, ordered by
the time of their most recent Twitter.
While it may, in some cases, be necessary to use the /statuses/friends
method call, we strongly recommend using /statuses/friends_timeline
instead. We haven't made any firm decisions, but my current thinking
is that the /statuses/friends method will be deprecated in favour of /
statuses/friends_timeline.
It would be very helpful for us if those of you with use cases for
the /statuses/friends method could provide a brief description of your
use case.
Thanks!
Blaine Cook
Twitter - http://twitter.com/blaine
For that to work, I need to be able to get a complete list of friends
not just for the current authorized user, but any user. Is something
like this in the works? This really comes down to deciding to support
third party social network analytics efforts...
On Jul 6, 11:54 pm, Blaine Cook <rom...@gmail.com> wrote:
> Hi all,
>
> I've made a (hopefully minor) change to the Twitter API. The /statuses/friendsmethod will now return a maximum of 100friends, ordered by
> the time of their most recent Twitter.
>
> While it may, in some cases, be necessary to use the /statuses/friends
> method call, we strongly recommend using /statuses/friends_timeline
> instead. We haven't made any firm decisions, but my current thinking
> is that the /statuses/friendsmethod will be deprecated in favour of /
> statuses/friends_timeline.
>
> It would be very helpful for us if those of you with use cases for
> the /statuses/friendsmethod could provide a brief description of your
> use case.
>
> Thanks!
>
> Blaine Cook
> Twitter -http://twitter.com/blaine
>
> Click onhttp://groups.google.com/group/twitter-development-talk/web/api-docum...
--
Alex Payne
http://twitter.com/al3x
> It would be very helpful for us if those of you with use cases for
> the /statuses/friends method could provide a brief description of your
> use case.
I like it from the standpoint of getting a list of all the
authenticated user's friends. In the new version of Spaz, I'm using
it to provide a sort of "directory" to the user, where they can click
on a user's avatar and get their profile info. If performance was an
issue, I'd be able to live without each friend's most recent status.
--
- Ed Finkler
http://funkatron.com/
On Jul 11, 2:19 pm, Alex Payne <a...@al3x.net> wrote:
> There are already a couple sites that do this for Twitter. My
> favorite:http://twitter.caboo.se/
>
> --
> Alex Paynehttp://twitter.com/al3x
I'm playing with the API. Everything works perfect so far. The only
thing that I could not make is displaying an arbitrary text of the
agent that posted the update. I see some people have it like "from
web", "from txt", "from twitterrific", etc. I've tried adding User
Agent header but it did not work. Any help would be much appreciated.
Thanks,
George
Hey Arlo, this is done on a case-by-case basis by the folks at Twitter.
Thanks,
Mark
areyouwatchingthis.com
Click on http://groups.google.com/group/twitter-development-talk/web/api-documentation
http://twitter.com/statuses/friends_timeline/bob.json?callback=foo
... which works as expected.When I try this, however:
http://twitter.com/statuses/friends_timeline/bob.json?callback=bar
... I still get my results wrapped in foo. I'm almost positive this is
not local caching at my end; cURL gives me the same results as my
browser, and it isn't caching anything.
While I understand the need to ease the load on Twitter's servers,
this will almost certainly break the experience for any user who
visits one site that depends on callback foo and then visits another
site that depends on callback bar, if both of those sites query for
the same friends_timeline. (Which is easy to do, for bob-the-example-
user.)
[after fiddling some more]
When I tried this:
http://twitter.com/statuses/friends_timeline/net.json
... and then this:
http://twitter.com/statuses/friends_timeline/net.json?callback=bob
... I got no callback with the second call, and when I tried this:
http://twitter.com/statuses/friends_timeline/kent.json?callback=foo
... and then this:
http://twitter.com/statuses/friends_timeline/kent.json
... I got the callback with the second call, even though I didn't ask
for it.
Thanks for building the API!
--Kent
http://twitter.com/statuses/friends_timeline/bob.json?callback=mything.myfunc[0]
When I try this, I get mythingmyfunc0 back from the API as my
callback.
Thanks again,
--Kent
http://twitter.com/friendships/create/tantek.json?callback=foo
http://twitter.com/friendships/destroy/tantek.json?callback=foo
... gave back error messages in the same format as their success
messages. If I do the wrong thing with either API, I get this:
You are not friends with the specified user.
You are already friends with the specified user.
... where I ought to get something like this:
foo({"error":"You are not friends with the specified user."});
foo({"error":"You are already friends with the specified user."});
Ditto the page that comes up when I hit Cancel or the three-try limit
on any call that pops up the auth box, like this one:
http://twitter.com/account/verify_credentials.format
Thanks again,
--Kent
http://groups.google.com/group/twitter-development-talk/web/api-documentation
--
--
Ed Finkler
http://funkatron.com
AIM: funka7ron
ICQ: 3922133
Skype: funka7ron
Thanks
Kuldeep
This is in the archive, but in the past the developers have stated there
are no plans to allow it for security reasons.
If you want a link, the easiest thing is just to send a URL and let the
Twitter parser recognize it.
--
------------------------------------ personal: http://www.cameronkaiser.com/ --
Cameron Kaiser * Floodgap Systems * www.floodgap.com * cka...@floodgap.com
-- FORTUNE: Good day for heavy drinking. Start spiking the office water cooler.
On 1/18/08, spaz...@gmail.com <spaz...@gmail.com> wrote:
>
> Dare I ask when it might be available? A "soon" or "not so soon"
> would be fine. =)
>
This reminds me of a question asked of Boris Yeltsin, something like "How
are things in Russia?" or "How is the Russian economy?" (See google for
differing accounts).
Yeltsin replied "Good." Asked if he could expand, he said "Not good."
Terry