actual code would be most helpful.
On Nov 25 2010, 12:05 am, Nancy Neira n143dra...@hotmail.com wrote:
Jay
You looking for code patch or the actual code to do streaming?
Nancy
Date: Wed, 24 Nov 2010 23:53:21 -0500
Subject: [twitter-dev] Help Getting Started with Site Streams
my goal is to plott the long and lat of posts on twitter in real time,
i have got this working but it seems to be very slow.
im using the stream api to do this
im justing pulling off the json quiry the post and the geocode, when i
just pull the post without the geocode it runs like a dream, very
how do you get tweets from all over? I thought they were limited to up
to 1000 mile radius?
can you give a summary of your goal. It seems like doing it real time
would be impossible (if you want to capture every tweet around the
world)
I am working on a geo mashup with tweets and google maps
Any standard Twitter API is rate-limited except Streaming API
(Firehost). However Streaming API must be approved by Twitter
manually.
If radius cap is 100 miles, it should cover most metropolitan area
size. In some areas you may not get enough tweets for 200 miles
diameter to show sufficient
no one available to help me with this?
On Nov 25, 9:55 am, Jayrox jay...@gmail.com wrote:
I'd really like to make my own site stream library. Ive been white
listed for the site stream and have been using the origional stream
for a long time now.
My issue is that I cannot get any response from
I'd really like to make my own site stream library. Ive been white
listed for the site stream and have been using the origional stream
for a long time now.
My issue is that I cannot get any response from connection besides 401
Unauthorized. Based on that I assume the following to be true: I have
Hi Abraham.. im using your twitterauth. Ive got everything set right,
but im also getting the error as mentioned about. One thing i noticed
is that the url is:
https://twitter.com/oauth/authorize?oauth_token=
i dont find the token. What might have gone wrong?
Regards
vishnu
On Sep 20, 8:11 am,
Put in breaks in Abrahams lib and example and see where you're failing.
On Oct 23, 2010, at 4:50 PM, Vishnu S wrote:
Hi Abraham.. im using your twitterauth. Ive got everything set right,
but im also getting the error as mentioned about. One thing i noticed
is that the url is:
It might be the following but you can var_dump() $tweets and see the
structure of it to be sure.
foreach ($tweets as $tweet) {
echo $tweet-status-text;
}
Abraham
-
Abraham Williams | Hacker Advocate | http://abrah.am
Update: http://blog.abrah.am/2010/10/organizing-my-life.html
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.
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;;
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: [ ]
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');
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
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
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
I've been googling like crazy and searching the streaming api docs for
the answer to this question: Where would I find the latest definition
for json objects returned by the stream? Specifically I'm looking for
field names, data types and max lengths (if available) that will be
returned. I'm
Quoting mynameisgabe mynameisg...@gmail.com:
I've been googling like crazy and searching the streaming api docs for
the answer to this question: Where would I find the latest definition
for json objects returned by the stream? Specifically I'm looking for
field names, data types and max
Oh wow, I like the NoSQL data store idea. =)
On Sep 29, 2010, at 3:55 PM, M. Edward (Ed) Borasky wrote:
Quoting mynameisgabe mynameisg...@gmail.com:
I've been googling like crazy and searching the streaming api docs for
the answer to this question: Where would I find the latest definition
This is about as close as you will get and it is probably outdated already.
http://mehack.com/map-of-a-twitter-status-object
Abraham
-
Abraham Williams | Hacker Advocate | http://abrah.am
@abraham | http://projects.abrah.am | http://blog.abrah.am
This email is: [ ] shareable [x] ask
Yeah - lots of them to choose from, although Twitter has invested a
fair amount of time in Cassandra and Hadoop/Pig.
--
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 Gabriel
I request this URL :
http://stream.twitter.com/1/statuses/firehose.json
i get this message on my compiler :
WARNING 2010-09-11 07:31:30,447 urlfetch_stub.py:284] Stripped
prohibited headers from URLFetch request: ['Host']
i think something is wrong with my permission.
I read this doc.
This is
I think the best debugging process is to reproduce your problem in curl,
then show the curl -v output (passwords elided, naturally). If curl works
and your home-rolled client does not, then you can use tcpdump(1) or some
other packet sniffer and work out the deltas between the working solution
and
hi,
now it returns the 401 error.
It seems like I don't know what is the username and password i should
insert.
is this ths oauth token?
what is the title of this fields?
API key, Consumer key, Consumer secret?
thanks
On 7 ספטמבר, 17:16, John Kalucki j...@twitter.com wrote:
The Streaming API
What text message does it return with the 401 error?
You can still use basic auth with streaming. Does that work for you? You
should use your screenname and password for basic auth.
-John Kalucki
http://twitter.com/jkalucki
Twitter, Inc.
On Thu, Sep 9, 2010 at 2:48 AM, omri
this is the message i get :
File quot;C:\Python26\lib\urllib2.pyquot;, line 516, in
http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 401: Unauthorized
i think i dont know which username and password to type in the header
- 'Authorization'
Hi Omri,
With basic auth, you don't use your consumer key or secret at all. Consumer
key and secret are used when authorizing through OAuth, and the
implementation is a bit more detailed than putting them in a header.
In your case, you want to use basic authorization, which should be easier
for
so..
succeded with the username and password but now i have :
HTTPError: HTTP Error 403: Forbidden
I need something special to have access to the streaming resources?
On 9 ספטמבר, 17:03, Taylor Singletary taylorsinglet...@twitter.com
wrote:
Hi Omri,
With basic auth, you don't use your
Hi Omri,
The Streaming API has various levels of access. The most basic doesn't
require any kind of permission, and that's utilizing the sampling resource,
documentation for which can be found here:
http://dev.twitter.com/pages/streaming_api_methods#statuses-sample and
Which URL are you requesting? What is the text message returned? Does this
doc help? http://dev.twitter.com/pages/streaming_api_response_codes
-John
On Thu, Sep 9, 2010 at 7:45 AM, omri omridek...@gmail.com wrote:
so..
succeded with the username and password but now i have :
HTTPError: HTTP
What do you mean?
On 5 sep, 12:20, Tom van der Woerdt i...@tvdw.eu wrote:
What's the base string?
Tom
On 5 sep. 2010, at 12:18, hgc2002 herman.go...@gmail.com wrote:
--
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter:
What do you mean?
When you sign an OAuth (or xAuth) request, you use a base string composed of
various components of the request itself. The OAuth spec goes into this in
detail, and there are many helpers to show you how the base string is
constructed. If you construct it incorrectly, your
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 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
I'd like to see this too.
--
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 your membership to this group:
There is no secure method to accomplish this purely in Javascript, as you
would have to hard code your consumer key consumer secret as well as an
oauth_token and oauth_token_secret for the Twitter account you want to use
for all operations. With these pieces of information, anyone would be able
Thanks for your quick answer.
I have check the time stamp again and got it solved.
I should not use the local time.
After I change it to universal time, it works.
To my surprise, there is no time zone specification in the
http://dev.twitter.com/auth#signing-requests .
I suggest someone should
I'm doing an application that tracks statuses / home_timeline of
users who follow a particular account. The idea would be a PHP script
to access that account and get these tweets
I USING THAT LIBRARY: http://github.com/abraham/twitteroauth
On 11 jun, 13:14, Matt Harris mhar...@twitter.com
Sorry for the delay. Your whitelist request has been processed and you
should receive an email from us soon.
Brian Sutorius
On May 12, 5:34 am, a...@topyapps.info a...@topyapps.info wrote:
Hi, I'm waiting for a response regarding ip/account whitelisting for
about a week now.
I've first filled
Sorry for the delay. I just reviewed your whitelisting request and
responded - you should receive an email shortly.
Brian Sutorius
On May 11, 2:30 am, tao yametei@gmail.com wrote:
dear sir
last friday
i Filling in whitelisting request form on twitter and submit my
request
but now i cant
Whilst I personally use a more technical solution, I believe if you
put 127.0.0.1 in place of localhost in the Application callback url it
works - eg instead of http://localhost/path/to/your/callback/file put
http://127.0.0.1/path/to/your/callback/file. It's possible that
doesn't work any longer,
On Apr 9, 7:23 am, John munz...@gmail.com wrote:
Well I changed my code to use a library rather than try to do it
manually and I got it to work.
Coward ;-)
Now for all subsequent requests am I
suppose to sign requests using the oauth_token_secret that was
returned?
Yes.
--
To
On Apr 9, 2:24 am, John munz...@gmail.com wrote:
The only thing the docs doesn't note is the secret key that is
used to sign. Am I suppose to use the consumer secret or do I need to
get a token secret as well then combine them like in oauth requests?
You need to use the consumer secret at
I am also facing the same invalid / expired token issue ... i am
passing the right access key and secret key
Regards,
Abhijit
On Dec 16 2009, 3:21 am, Abraham Williams 4bra...@gmail.com wrote:
Are you still having this problem?
On Nov 30, 6:53 pm, michael sean michaelseanhan...@gmail.com
The API uses pagination, so you have to request the max amount per
page, and then paginate through to get all the followers...
The API page gives you the formats and query requirements.
g.
On Jan 2, 3:48 am, Rushikesh Bhanage rishibhan...@gmail.com wrote:
Dear Sir,
i am using twitter
Are you still having this problem?
On Nov 30, 6:53 pm, michael sean michaelseanhan...@gmail.com wrote:
I can't figure this out for the life of me. I've authorized my
application and retrieved the access token. The access token and
secret are stored in a database. Then I try to make a 'verify
On Oct 14, 2009, at 8:38 AM, Kyle B wrote:
I am creating a mathematical model based on some results from
Twitter's API, but I am missing one critical number in the model. I
need to estimate the number of total tweets in the USA each day. The
better an estimate I get and the less assumptions I
On Wed, Oct 14, 2009 at 8:38 AM, Kyle B kylebarn...@gmail.com wrote:
1. How are tweet IDs incremented? Do they increase by a factor of 1,
2, 5, 10...?
I've asked that question previously and the answer was a definitive We
aren't telling. It seems to be considered a significant enough
Thanks for the info. It helps a lot. Figuring out an accurate number
is essential to my model, so much so that I am determined to find some
method of estimating it to acceptable margins of error!
- Kyle
On Oct 14, 5:19 pm, Nick Arnett nick.arn...@gmail.com wrote:
On Wed, Oct 14, 2009 at 8:38
And you don't think the streaming API will answer that for you?
--
Scott * If you contact me off list replace talklists@ with scott@ *
On Oct 14, 2009, at 3:27 PM, Kyle B wrote:
Thanks for the info. It helps a lot. Figuring out an accurate number
is essential to my model, so much so that I
On Wed, Oct 14, 2009 at 3:27 PM, Kyle B kylebarn...@gmail.com wrote:
Thanks for the info. It helps a lot. Figuring out an accurate number
is essential to my model, so much so that I am determined to find some
method of estimating it to acceptable margins of error!
It occurs to me that
On Wed, Oct 14, 2009 at 3:56 PM, Scott Haneda talkli...@newgeo.com wrote:
And you don't think the streaming API will answer that for you?
It can't, can it? It isn't the complete stream, only a sampled subset.
There's no way to know which IDs were skipped in order to obfuscate the
actual
On Wed, Oct 14, 2009 at 4:10 PM, Nick Arnett nick.arn...@gmail.com wrote:
On Wed, Oct 14, 2009 at 3:27 PM, Kyle B kylebarn...@gmail.com wrote:
Thanks for the info. It helps a lot. Figuring out an accurate number
is essential to my model, so much so that I am determined to find some
You can do this with Sign in with Twitter. Make sure the user knows you will
automatically be tweeting from their account though.
For examples in PHP check out http://github.com/abraham/twitteroauth
Abraham
On Tue, Sep 22, 2009 at 04:56, ajibanda ajiba...@gmail.com wrote:
well I need to
Generally that would mean the picture is too big.
It can't be over 700k.
Your second question? Wordpress/PEBKAC issue. Find your answers there.
∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)
My understanding is that 200 is the limit for retrieving status
updates via the REST API.
On Aug 20, 4:38 am, raashid bhatt raashidbh...@gmail.com wrote:
Hi all i am developing a Desktop client of twitter for self use its
actually my first time working on twitter API
i want get tweets from
no u didnt understood me .. i know per request the limit is 200 but
what about the next 200 tweets how can i get those ( of the other
user)
On Aug 20, 7:06 am, Duane Roelands duane.roela...@gmail.com wrote:
My understanding is that 200 is the limit for retrieving status
updates via the REST
Hm! I stand corrected! Thanks for setting me straight, Jim!
On Aug 20, 12:29 pm, jim.renkel james.ren...@gmail.com wrote:
Yes, the *per request* limit is 200, but using the page parameter you
can retrieve up to the last 3200 status updates.
Yes, the *per request* limit is 200, but using the page parameter you
can retrieve up to the last 3200 status updates. See
http://apiwiki.twitter.com/Things-Every-Developer-Should-Know#6Therearepaginationlimits
for more information.
I've implemented and tested this in my site
here getting page three from my account which ain't protected dosent
work it asks for password and username
http://twitter.com/statuses/user_timeline.xml?id=raashidbhatt?page=2
or
http://twitter.com/statuses/user_timeline.xml?screen_name=raashidbhatt?page=2
On Aug 20, 9:29 am, jim.renkel
raashid,
Multiple parameters in the same request are separated by 's, not
another ?. :-)
Try these, they seem to work for me:
http://twitter.com/statuses/user_timeline.xml?id=raashidbhattpage=2
or
http://twitter.com/statuses/user_timeline.xml?screen_name=raashidbhattpage=2
Jim
On Aug 20,
ohhh! thanks! brother
On Aug 20, 2:15 pm, jim.renkel james.ren...@gmail.com wrote:
raashid,
Multiple parameters in the same request are separated by 's, not
another ?. :-)
Try these, they seem to work for me:
http://twitter.com/statuses/user_timeline.xml?id=raashidbhattpage=2
or
Thanks for the tip, Marcel.
I am trying to build my signed requests using that page, but I found
this weird thing:
The hueniverse page converts véio (in Brazil most words have such
marks) to
v%C3%A9io
but my C# lib UrlEncode method outputs
v%E9io
So does this URL encode example page
the former is assuming UTF-8, which is likely the correct assumption to
make. %E9 is the actual unicode codepoint, whereas the %C3%A9 is the UTF-8
encoding of said codepoint. I believe the API wiki says something about
requiring UTF-8 encoding (and if it doesn't, it should).
On Fri, Jul 31, 2009
There is no direct way to do this, no. But you might be able to
accomplish the same thing in an interesting way. Create a new Twitter
account that exclusively follows users of your app. When you request
statuses/friends for that new account, you will get current
information and most recent
I'm assuming your link should have an instead of a second ? .
Bad
http://maps.google.com/maps?f=q?q=100.0,50.0%20%28SPOT%20NAME%29;
Good
http://maps.google.com/maps?f=qq=100.0,50.0%20%28SPOT%20NAME%29;
On Jul 21, 2:53 pm, Travis Williams travw...@gmail.com wrote:
I could
Can anyone help?
On Jul 7, 6:25 pm, Slicey sli...@live.co.uk wrote:
Basically I am trying to make a site where a user come to the site,
types in their username, song title, artist title, and uploads a song,
this then gets stored in a database along with a random generated
code.
What I am
I think the absence of responses might be that there are many variables in
your code and I cant get anything to show up could mean anything,
including things in your include files, etc
Being much more specific about output makes it easy for the brains to help.
On Wed, Jul 8, 2009 at 8:53 AM,
Can anyone help?
On Jul 7, 6:25 pm, Slicey sli...@live.co.uk wrote:
Basically I am trying to make a site where a user come to the site,
types in their username, song title, artist title, and uploads a song,
this then gets stored in a database along with a random generated
code.
What I am
Well, it doesn't look like you ever give the user's password to the
Twitter object. It's probably failing on authentication.
On Jul 8, 12:02 pm, Slicey sli...@live.co.uk wrote:
Can anyone help?
On Jul 7, 6:25 pm, Slicey sli...@live.co.uk wrote:
Basically I am trying to make a site where a
Can anyone help?
On Jul 7, 6:25 pm, Slicey sli...@live.co.uk wrote:
Basically I am trying to make a site where a user come to the site,
types in their username, song title, artist title, and uploads a song,
this then gets stored in a database along with a random generated
code.
What I am
That PIN can be used to get an access token that should be saved and
allows you to act as that user.
Read more: http://apiwiki.twitter.com/OAuth-FAQ
And: http://apiwiki.twitter.com/Authentication (Desktop Clients part)
Abraham
On Thu, Jun 25, 2009 at 03:27, lanlimlan.lim...@gmail.com wrote:
Regular expression to find and replace the in-tweet links??
On Jun 24, 9:49 am, jefbak jef...@gmail.com wrote:
I am trying to figure out what css/script would be required to take a
link posted in a tweet and style it so that it shows as an icon
instead. This way we can display our twitter
Off the top of my head there are 2 ways to do this. Add a class to
each link and use CSS/JS or use JS to search the page content for
links and modify them on the fly.
For an example of the later check out:
You guys might also want to add our photo sharing service to the mix,
tweetphoto.com and pic.gd
Sean
On Jun 4, 10:16 pm, Chethan chethanksw...@gmail.com wrote:
On Jun 5, 7:09 am, Jonathan twitcaps.develo...@gmail.com wrote:
Hello -
I developed the application Twitcaps
Sean,
I will look into it. When I was researching the APIs I think I was
confused that there were so few links to tweetphoto pics (but plenty
of conversational mentions). I didn't realize that pic.gd was the URL
shortener for it. That changes everything.
At first, I was implementing only
Hi Chethan,
I wrote the TwitPicGrid page you cite. I just do a simple Search API
search and append twitpic to the query. Since all twitpic posts
have http://twitpic.com/x; in the tweet, this search will get the
links in the result set. Then, since most people describe the content
of the
Hello -
I developed the application Twitcaps (http://twitcaps.com) and I can
tell you that what I am using in my search API calls is twitpic.com,
yfrog.com or twitgoo.com (or any other arbitrary image provider,
img.ly, etc). I found that by including the .com at the end, I wound
up with more
On Jun 5, 7:09 am, Jonathan twitcaps.develo...@gmail.com wrote:
Hello -
I developed the application Twitcaps (http://twitcaps.com) and I can
tell you that what I am using in my search API calls is twitpic.com,
yfrog.com or twitgoo.com (or any other arbitrary image provider,
img.ly, etc).
URL = http://twitter.com/statuses/update.xml;
Data = in_reply_to_status_id=status=my text message here
On Tue, May 12, 2009 at 11:31 PM, Doug doug_d...@yahoo.com wrote:
Hi folks... Im hoping someone can help me. I've read the docs and
have experimented with code a bit but am having
Dammit, I knew it would be simple.
Thanks for the quick response!
On May 9, 12:05 pm, Abraham Williams 4bra...@gmail.com wrote:
http://search.twitter.comrequires no authentication. Just call it directly
without OAuth.
On Sat, May 9, 2009 at 13:37, Ammo Collector binhqtra...@gmail.com
could this be a result of me encoding the text using json for ajaxing?
On Apr 24, 4:20 am, alon alon.car...@gmail.com wrote:
hello,
i've successfully managed to login to my webapp using twitter oauth
and updated my status on twitter.
problem is that it only works fine with english. when i
Peter,
I'm a little confused as to what you are looking for from a support point of
view here. What exactly is your question regarding the TOS and how can I
help?
Thanks,
Doug Williams
Twitter API Support
http://twitter.com/dougw
On Sun, Mar 29, 2009 at 3:43 PM, Peter Denton
How long does it take for a request token to expire?
On Mon, Feb 23, 2009 at 11:29, Matt Sanford m...@twitter.com wrote:
Hi Emmanuel,
Since we improved the error messaging a bit that error message now leads
to something useful. When we tried to lookup your token it was not found.
Was
Hi there,
A request token is expected to be very short lived, since it's
only used to exchange for an access token. Right now they do not
expire but in an upcoming change we're going to limit them to a one
hour life span to improve performance and scalability. The life span
of an
86 matches
Mail list logo