Hey all Twitter Developers
Hello all, first of all, i am sorry for my bad english
I am new comer/ newbie in php program, but i am eager to learn it :)
At thi time, I wanna know how to get a list of friends IDs and
followers IDs and then make the XML object of them ??
I hope I can get the
Hi Clay,
When you add a place you need to ensure you create it with the same
details you searched similar_places for. In your example it looks like
you are searching similar_places for the name Liege but trying to
create a place with the name Liege Spirits Lounge. Both of these
need to be the
Favstar offers a different UI based on whether you're following someone or
not, and different services based on whether you're following @favstar or
not. If site streams provided unfollow data it would make it extremely easy
to keep the relationship info up to date. OneForty.com was also
the code is what I posted above...
My goal is a simple twitterbot that tweets hourly a string I tell it
to tweet. Worked fine in the userid/password days, now it doesn't
anymore thanks to oauth. I'm not trying to have other users use the
app in their name (which is what oauth is for), i just want
Maybe I should explain what I'm trying to do-- basically just want to
get my own status updates and the (public) details updates of my
friends.
Would it work if I replaced this:
$login = mytwitterusername:mytwitterpassword;
$tweets = http://twitter.com/statuses/friends_timeline.xml?count=20;;
I was hoping on adding some ajax code to my web app to allow auto-
completing of @usernames as you start typing
eg:
[...@jon]
@jonathan
@jon_smith
@jonny
I suspect I'll need to cache the names on my server, but was wondering
if there was a quick API call to get just the usernames of the people
Hi All -
Could someone please answer this for me -
If I use curl to execute the following -
curl -d @locations http://stream.twitter.com/1/statuses/filter.json -
uAnyTwitterUser:Password
and my 'locations' parameter had a bounding box for 'dallas, tx' -
would I then get ALL (exhaustively)
There's no way right now to get usernames in bulk. Get the ids, then
query and get the complete info 100 at a time. You can build this for
your users over time.
Once list of friends for a user has been retrieved, the next time a
user comes, you can just get the latest set of friends and add them
Filter = all, just like search.
Tom
On Sep 30, 2010, at 2:24 PM, rakesh doctorrak...@hotmail.com wrote:
Hi All -
Could someone please answer this for me -
If I use curl to execute the following -
curl -d @locations http://stream.twitter.com/1/statuses/filter.json -
Hey, John. There are a few reasons I'm interested in unfollow events
in Site Streams, but Tim got to the real point: it would make it
extremely easy to keep the relationship info up to date.
* My service shows you the latest tweet, matching specific criteria,
from each person you follow.
Can I use the same tokens that I generated with a desktop application
for a web application, or vice versa?
--
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker:
Thanks both for your responses.
-John
On Thu, Sep 30, 2010 at 6:12 AM, tsmango tsma...@gmail.com wrote:
Hey, John. There are a few reasons I'm interested in unfollow events
in Site Streams, but Tim got to the real point: it would make it
extremely easy to keep the relationship info up to
Yes, you can.
Tom
On 9/30/10 3:21 PM, John Meyer wrote:
Can I use the same tokens that I generated with a desktop application
for a web application, or vice versa?
--
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter:
If the result set size per time period is below the rate limit, you
get the full result set. Otherwise the part of the result set above
the limit is discarded, and you get a notice to that effect. Note that
with relevance enabled in search, it's not always full-fidelity result
set either,
* wkossen w.kos...@gmail.com [100930 01:25]:
my $client = Net::Twitter-new(
traits = ['OAuth', 'API::REST'],
consumer_key = $ckey,
consumer_secret = $csec,
access_token = $atok,
access_secret = $asec,
Here's the problem. It's access_token_secret, not access_secret.
Hi all,
I have a page in which there is a listing of past tweets. In this
page, I want to display the author's profile image next to the tweet.
I've come across the following:
http://dev.twitter.com/doc/get/users/profile_image/:screen_name
My question is, is it wrong to use this as the src
Hi there,
I have a consumer key/secret for my app and I have access token and
secret for me, a user for this app. I am using signpost for my OAuth
implementation:
OAuthConsumer consumer = new DefaultOAuthConsumer(consumer_key,
consumer_secret);
Every image you load using this method counts as 1 API request. So, yes,
that's bad.
Tom
On 9/30/10 11:48 AM, Jayawi Perera wrote:
Hi all,
I have a page in which there is a listing of past tweets. In this
page, I want to display the author's profile image next to the tweet.
I've come
Hello there!
I have a problem with the special characters :( When I posted a new
status you can see something like this:
http://twitter.com/8gis8/status/25972589896
Any ideas?
Thank you so much!
P.S: Sorry about my English, I'm trying to improve it.
--
Gisela Torres Buitrago
Blog:
I'm trying to connect the Twitter API with our sites SSO and I found
out that the user info returned from 'account/verify_credentials' does
not include the email adress.
I know that Twitter has deprecated the use of it the other way around
(get ID based on Email:
Interesting...that explains why it used to work and then it stopped. Is
there any sort of official statement as to whether this is a bug, a
temporary issue, or whether counturl is now useless? Or is there just
speculation? I wasn't able to find much at all about this before I posted
in the
Hi there,
The Twitter REST API or OAuth sequence does not provide a user's email address.
Taylor
On Thu, Sep 30, 2010 at 6:17 AM, phun-ky alexander.v.ro...@gmail.com wrote:
I'm trying to connect the Twitter API with our sites SSO and I found
out that the user info returned from
Hi Gisela,
It looks like you over-encoded your status.
I assume your intended status is: Hola (mundo)
Here's an example POST body and signature base string that would
accomplish this for you, I think.
Signature base string:
Good morning all!
Before the OAuth change, I wrote a twitter archiver that would grab my
tweets and dump them into a database. Back then I only had about 1K
tweets so I was able to grab all my tweets without hitting the limit.
And of course since then, I don't post more than 20 tweets a day.
It's important to unfollow someone who unfollowed you. I must
emphasize here that I am not talking about unfollowing someone who is
not following me, but only those who used to follow me, then
unfollowed. In this case it's very important to unfollow them right
away. This is important because
Hello there!
I am pretty experienced with using PHP for Twitter, but now I want to
use firehose and Java seems to be a much better fit because of
'Threads', so I can listen to Firehose the pass a job to a thread and
return right away. PHP cannot do that, well, maybe to some crazy hacks
that I am
While it's in Scala, not Java, I've heard good things about
@alejandrocrosa's Scala-TwitterStreamer :
http://github.com/acrosa/Scala-TwitterStreamer -- you should be able
to make use of it fairly easily in a Java environment.
We'd love to start collecting libraries built around the Streaming API.
Oh, man, I am new to Java, don't even know what Scala is... I've heard
about it that it's like based on Java and it's supposed to be easier
to code than in Java, but have not look at it, Will it even work in
Eclipse or will I need Eclipse plugin? Just don't feed like learning
yet another language
Twitter4J seems to be popular, but I don't have first-hand experience with it.
-John
On Thu, Sep 30, 2010 at 8:32 AM, D. Smith emai...@sharedlog.com wrote:
Oh, man, I am new to Java, don't even know what Scala is... I've heard
about it that it's like based on Java and it's supposed to be
I am looking for something specifically for Firehose. I must use
threads to pass the jobs to and i must have some mechanism to forking
and staying alive like a daemon or something like that, and ideally it
would automatically handle reconnecting in case of error.
On Sep 30, 11:33 am, John
We have internal consumers here at Twitter that use Twitter4J to
consume streams. Many of the data-driven features you see on
Twitter.com, and many more that you can't see run on Twitter4J.
-John
On Thu, Sep 30, 2010 at 8:36 AM, D. Smith emai...@sharedlog.com wrote:
I am looking for something
Hi Taylor,
Yeah, you right, I was over-encoding it :$ I have just found the bug :)
¡Thanks a lot!
P.S: Sorry about my English, I'm trying to improve it.
--
Gisela Torres Buitrago
*Blog*:
www.returngis.nethttp://bl154w.blu154.mail.live.com/mail/www.returngis.net
*Twitter*: www.twitter.com/0GiS0
There's also this Java-based library by the developers behind Gist,
though it hasn't seen an update in about a year:
http://github.com/gistinc/twitterclient
On Thu, Sep 30, 2010 at 8:38 AM, John Kalucki j...@twitter.com wrote:
We have internal consumers here at Twitter that use Twitter4J to
Hey there,
is there a possibility to check out, how many users already started
using my Twitter-App?
Or can i search for tweets using via my app?
Thanks for your help
Best regards
Luca
--
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter:
Hi
I'm trying to change my status with perl, and without the Net::Twitter
module.
I'm using LWP useragent, and it works fine until the final call to
update the status, where I get a incorrect signature.
Here's my signature base string:
my $signature_base_string = oauth_consumer_key=
As long as we're wishing, I'd like to get a notification when someone
blocks me. ;-)
--
M. Edward (Ed) Borasky
http://borasky-research.net http://twitter.com/znmeb
A mathematician is a device for turning coffee into theorems. - Paul Erdos
--
Twitter developer documentation and resources:
Hi, Ed. Block and unblock events are already being delivered in the
Site Stream. Very useful!
On Sep 30, 12:30 pm, M. Edward (Ed) Borasky zn...@borasky-
research.net wrote:
As long as we're wishing, I'd like to get a notification when someone
blocks me. ;-)
--
M. Edward (Ed)
Hi. I want to update a Twitter page's background so that there is a
gradient background image and on the left only, a graphic that spans
the height (logo). But no matter what, when scrolling the page
content, the logo stays in place. This is an example of what I saw.
Only the 3200 most recent ones, unless you know the IDs of the tweets.
Tom
On 9/30/10 5:09 PM, linuslive wrote:
Good morning all!
Before the OAuth change, I wrote a twitter archiver that would grab my
tweets and dump them into a database. Back then I only had about 1K
tweets so I was
I've used the Perl AnyEvent::Twitter::Stream CPAN module and the Ruby
tweetstream gem. Both of them work just fine, although I think the
error handling in the Perl one may have a glitch. The Perl one is
lighter on both CPU and RAM use, but that's the nature of Perl vs.
Ruby, not something
Note that block/unblock events are delivered to the person creating or
destroying the block (the source of the action), *not* the target of
the action.
---Mark
http://twitter.com/mccv
On Thu, Sep 30, 2010 at 9:31 AM, tsmango tsma...@gmail.com wrote:
Hi, Ed. Block and unblock events are
Hi Marc,
I have a VPS, so I should be able to update perl modules as I'd like
to.
Is there some dependency tree that is causing the HTTP::Message
(and/or HTTP::Request) module to be held back? Rather than use
the local::lib approach, I'd just like to get the latest and greatest
code
on my
Site Streams only or User Streams? I'm developing around User Streams.
--
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 tsmango tsma...@gmail.com:
Hi, Ed. Block and unblock events
Ah, I apologize. I missed that. I saw block/unblock events come in
during my tests, I didn't realize they were directed at the source
rather than the target.
On Sep 30, 12:59 pm, Mark McBride mmcbr...@twitter.com wrote:
Note that block/unblock events are delivered to the person creating or
That is a good find. I read over that one a lot of times... But...
Now it tells me Invalid / expired Token
I tested this on two accounts with two applications and the same
script... I copy/pasted the codes, there can't be errors that way
What's going wrong now?
thanks for helping me out!
On
I do things precisely in this fashion, works fine for me. Contact me here
and I'll look your stuff over if Marc does not get to it first ...
It's better to use nrauhau...@gmail.com as opposed to this, which is a
very large junk box for me.
On Fri, Sep 10, 2010 at 4:37 AM, wkossen
They ditched the effort to switch the status store to Cassandra though.
http://engineering.twitter.com/2010/07/cassandra-at-twitter-today.html
Abraham
-
Abraham Williams | Hacker Advocate | http://abrah.am
@abraham | http://projects.abrah.am | http://blog.abrah.am
This email is: [ ]
Do you have an access token embedded in the script? If not you can get one
following the instructions on
http://dev.twitter.com/pages/oauth_single_token
Abraham
-
Abraham Williams | Hacker Advocate | http://abrah.am
@abraham | http://projects.abrah.am | http://blog.abrah.am
This email
Let's just show the whole script here for easier debugging...
#!/usr/bin/perl
use strict;
use Net::Twitter;
use Scalar::Util 'blessed';
use warnings;
my $wikiurl;
my $wikitxt;
my $wikckey;
my $wikcsec;
my $wikatok;
my $wikasec;
my $client;
my $tweet;
$wikiurl = $ENV{wikiurl};
$wikitxt =
Make sure you reset your consumer key on http://dev.twitter.com/apps and try
not to post them in public in the future.
This should work. I switched it to json as it didn't look like you needed
the actual xml and dropped the count as 20 is the default.
require_once('twitteroauth.php');
Just as an FYI, I have gotten the twitteroauth to work with the
appropriate tokens.
On Sep 30, 2:06 pm, Abraham Williams 4bra...@gmail.com wrote:
Do you have an access token embedded in the script? If not you can get one
following the instructions
Hmmm...but there is no way to know the ids of the tweets without
having a list of all of the tweets, which would kind of defeat the
purpose of the limit.
Oh well...
On Sep 30, 12:39 pm, Tom van der Woerdt i...@tvdw.eu wrote:
Only the 3200 most recent ones, unless you know the IDs of the tweets.
Thank you so much, Abraham! I'm getting an error String could not be parsed
as XML now- this is what I now have (with my reset consumer keys put in
:-)):
require_once('twitteroauth.php');
$connection = new TwitterOAuth('consumer key', 'consumer secret', 'access
token', 'access token secret');
Yeah - at my current scale, I have absolutely no desire to use
anything but PostgreSQL. It has a bunch of neat stuff like full text
search and some key-value store capabilities, plus JSON storage is
coming (in about a year). Solid as a rock and no licensing problems
(except from Oracle
You *can* but we strongly recommend that you register a separate
application on Twitter for each platform you operate on.
http://support.twitter.com/articles/79901
Brian Sutorius
Twitter API Policy
On Sep 30, 6:25 am, Tom van der Woerdt i...@tvdw.eu wrote:
Yes, you can.
Tom
On 9/30/10 3:21
I resolved this problem by adding a few seconds of sleep after
creating a list and populating it. The problem did not appear when I
first tested my code, but it was morning European time and Twitter may
not have been too busy.
In the process of finding this out, I seem to have created some
Also wanted to mention that the original code is based on the tutorial here:
http://papermashup.com/using-the-twitter-api/
and the data is automatically inserted into a database.
Thanks,
Lorraine
Thank you so much, Abraham! I'm getting an error String could not be parsed
as XML now- this is
@themattharris, Pat's ticket just got rejected for not being an API
issue :-/. See http://code.google.com/p/twitter-api/issues/detail?id=1904
I have just filed it (again) via http://twitter.com/help/escalate.
-jonathan
On Sep 28, 9:24 pm, Jonathan Strauss jonat...@awe.sm wrote:
Heh, thanks
Here is a closed feature request from forever ago to return the status_id of
all statuses for a user. Maybe Twitter wil reconsider the request.
http://code.google.com/p/twitter-api/issues/detail?id=379
Abraham
-
Abraham Williams | Hacker Advocate | http://abrah.am
@abraham |
You don't need the cURL and XML code.
require_once('twitteroauth.php');
$connection = new TwitterOAuth('consumer key', 'consumer secret', 'access
token', 'access token secret');
$tweets = $connection-get('statuses/friends_timeline');
$latesttweets = count($tweets);
foreach ($tweets-status as
Well, it's not an API issue. ;-)
Tom
On 9/30/10 9:42 PM, Jonathan Strauss wrote:
@themattharris, Pat's ticket just got rejected for not being an API
issue :-/. See http://code.google.com/p/twitter-api/issues/detail?id=1904
I have just filed it (again) via http://twitter.com/help/escalate.
I also posted a request a long time ago that an authenticated user be
able to retrieve all of his own tweets, back beyond the 16-page limit.
In retrospect, now that I'm within shooting distance of 40,000 I'm not
sure how good an idea that is. ;-)
--
M. Edward (Ed) Borasky
Hey Ken,
Lists really are a sometimes embarrassing corner of the API, not going
to mince words there.
What is the type of failure you're getting when deleting the lists via the API?
A lingering bug around is that lists without users often cannot be
deleted correctly. If you're still having this
Well, finding your site SuperTweet.net today was a great find for me!
So I hope it doesn't go away any time soon. And I will be donating to
your cause shortly.
I updated my perl code using Net::Twitter to do oAuth - but it didn't
work right. That's because Net::Twitter has 12+ perl module
It remains a good idea. Imagine if Gmail only let you retrieve your
last 3200 messages even if you had 40,000.
On Sep 30, 4:20 pm, M. Edward (Ed) Borasky zn...@borasky-
research.net wrote:
I also posted a request a long time ago that an authenticated user be
able to retrieve all of his own
Fair point. Searching over it is trivial however, and perhaps that
would provide the most immediate benefit if implemented by Twitter.
Obviously though they don't have the capacity to handle that right
now, so at least allowing users to access all of their own tweets so
they can potentially index
I'll agree with all of you that'd it be valuable for us to do this.
The current state of availability of tweets is a capacity issue. It's
not in anyway a deliberate prevention of access.
As for since_id in this context -- it'd be great if it'd work to just
use since_id=1, but it doesn't. I don't
This should probably be a separate thread, but... what about a bulk
tweet lookup using status_ids for one very specific use case: turning
search results into proper tweets and avoiding all the other issues
that exist with the current implementation? I know bulk tweet lookup
by id has been asked
Considering Twitter can support returning the ids of almost 300,000
followers then 40,000 tweets should be easy.
http://api.twitter.com/1/followers/ids.json?screen_name=rsarver
Abraham
-
Abraham Williams | Hacker Advocate | http://abrah.am
@abraham | http://projects.abrah.am |
* sftriman dal...@gmail.com [100930 10:01]:
I have a VPS, so I should be able to update perl modules as I'd like
to.
Is there some dependency tree that is causing the HTTP::Message
(and/or HTTP::Request) module to be held back? Rather than use
the local::lib approach, I'd just like to get
* sftriman dal...@gmail.com [100930 13:38]:
Well, finding your site SuperTweet.net today was a great find for me!
So I hope it doesn't go away any time soon. And I will be donating to
your cause shortly.
I updated my perl code using Net::Twitter to do oAuth - but it didn't
work right.
Theorizing from the outside-in on our capacity issues aside, I'm a big
advocate for a bulk status/show or lookup function. We're definitely
giving that a lot of thought at the moment.
Taylor
On Thu, Sep 30, 2010 at 2:10 PM, Abraham Williams 4bra...@gmail.com wrote:
Considering Twitter can
Hey Taylor,
These lists are zombies.
Through Twitter.com, I have failed to change the status from private
to public, change the name or add a member. When I select a member to
add from the find people search, then user-actions list-menu button,
it appears to have worked: the Your lists:
Ken,
Bizarre. While I expect a certain amount of List bugginess on a daily
basis, this is a bit more severe than usual.
And also outside of where I can help you to any level of satisfaction.
Hate to pass the buck, but please re-summarize the issues that lead to
this zombie state, along with the
Us outsiders have to get our pokes and prods in while we can :-P
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.
On Thu, Sep 30, 2010 at 14:19, Taylor
Of course :)
I'll arm chair conjecture a bit also, since while I do work here I'm
definitely not the caliber of engineer as my colleagues, and certainly
not very knowledge in what it takes to scale a service like Twitter:
Things like followers/ids and friends/ids are likely accessible easily
Zut alors...
Would it not be preferable to create an issue in the tracker as API-
related? I'd be interested in learning what happened. And maybe I can
get some help removing those lists... So far my research indicates
that to kill a zombie you need to destroy its brain...
HTH
Ken
On Sep 30,
i could really use some help here
thanks
On Sep 29, 7:05 pm, eMailaya a...@emailaya.com wrote:
any kind of help here will be appreciated
thanks
On Sep 28, 8:06 pm, eMailaya a...@emailaya.com wrote:
im doing the following:
Twitterh.Key := consumer key - hard coded
Thank you for the conjecturing :)
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.
On Thu, Sep 30, 2010 at 14:57, Taylor Singletary
If you need any reinforcement from the developer community just let us
know ;)
On Sep 30, 5:19 pm, Taylor Singletary taylorsinglet...@twitter.com
wrote:
Theorizing from the outside-in on our capacity issues aside, I'm a big
advocate for a bulk status/show or lookup function. We're definitely
80 matches
Mail list logo