[twitter-dev] randomly 401 error

2010-11-22 Thread Alvin Wang
Hi,
I am currently developing an application using twitter api.
However, i will ramdomly receive 401 error (invalid signature).
Sometime it's working fine but sometime are not.
Can you please help us to resolve this problem?

BR,
Alvin

-- 
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: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] twitter

2010-11-22 Thread deepa.23.naga...@gmail.com
Hi i am getting verify credential error...

Please can you suggest me..

Thank you,

deepa

-- 
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: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] 401 Unathorised error on Update

2010-11-22 Thread Marius Van Wyk
I have read through the posts here, but i am still struggeling.
I have recently completed my integraion into Linkedin, using oAuth,
and no issues.
Now I started on the Twitter API.

I due the auth, and i received my Acess token,secret and the Pin used
to allow the access - I assume this pin is the same as Verifier.

I started with http://api.twitter.com/1/users/show.xml?screen_name=screenname,
and this is working, but i can not get a post for the update
http://api.twitter.com/1/statuses/update.xml?status=+HttpUtility.UrlEncode(NewTweet).

The signature and everything works on the oAuth Standards, that is why
it is working on Linkedin, and on the initial Authorization requests.
I started on this, asi thought it would be simple, but there is no
proper example i could find for C#, without using some third part dll.
I want to do this myself as with linked in, as you understand the
whole thing better then.

Please help:

Signitaure Base:
POSThttp%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses
%2Fupdate.xmloauth_consumer_key%%26oauth_nonce
%3D9465962%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
%3D1290433869%26oauth_token%%26oauth_verifier
%3D2156438%26oauth_version%3D1.0%26status%3DNew%2BTweet%2BMessage

Signiture:
OKs5OLmb+31l2sBFaQUV2ZH81ks=

Headers:
{Authorization: OAuth realm=http://
api.twitter.com/,oauth_consumer_key=,oauth_token=186400161-
,oauth_signature_method=HMAC-SHA1,oauth_signature=OKs5OLmb
%2b31l2sBFaQUV2ZH81ks
%3d,oauth_timestamp=1290433869,oauth_nonce=9465962,oauth_version=1.0
}

Any Help will be appreciated

-- 
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: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] tweet your own account

2010-11-22 Thread nicarcola
How can I automaticly log into my own twitter account (e.g. from my
own website) and send a tweet to it?

-- 
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: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] tweet your own account

2010-11-22 Thread Adam Green
If you are willing to run a PHP script from your website, this
tutorial will give you all the details you need to tweet to your
account from a website:
http://140dev.com/twitter-api-programming-tutorials/hello-twitter-oauth-php/

On Mon, Nov 22, 2010 at 9:17 AM, nicarcola n...@meerijden.nu wrote:
 How can I automaticly log into my own twitter account (e.g. from my
 own website) and send a tweet to it?

 --
 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: 
 http://groups.google.com/group/twitter-development-talk




-- 
Adam Green
Twitter API Consultant and Trainer
http://140dev.com
@140dev

-- 
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: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] historic trend data 10 days old

2010-11-22 Thread Taylor Singletary
Hi James,

You'll find that, in most cases, the data available for a trend is limited
by the amount of data provided by the Search API. While this goes back
around 10 days currently, there have been times when less was available.
Some day we hope to provide more historical data.

Taylor

On Sat, Nov 20, 2010 at 1:24 PM, James Chivers jchiv...@gmail.com wrote:

 I'm trying to dig out some hourly trend data from the Twitter API
 using the trends/daily call with the associated date that I'm looking
 for, but I'm not able to go back in time more than ~10 days.

 Is there any way that I'm able to grab the hourly trend data given a
 date  10 days from the API?

 Thanks in advance,

 James

 --
 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:
 http://groups.google.com/group/twitter-development-talk


-- 
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: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] historic trend data 10 days old

2010-11-22 Thread Adam Green
Taylor, there has been much talk lately about the new Twitter
Analytics tool that would deliver historical data. Am I correct in
assuming that this is built on an internal API, and that this API will
be surfaced eventually for use by us developers?

On Mon, Nov 22, 2010 at 9:20 AM, Taylor Singletary
taylorsinglet...@twitter.com wrote:
 Hi James,
 You'll find that, in most cases, the data available for a trend is limited
 by the amount of data provided by the Search API. While this goes back
 around 10 days currently, there have been times when less was available.
 Some day we hope to provide more historical data.
 Taylor

 On Sat, Nov 20, 2010 at 1:24 PM, James Chivers jchiv...@gmail.com wrote:

 I'm trying to dig out some hourly trend data from the Twitter API
 using the trends/daily call with the associated date that I'm looking
 for, but I'm not able to go back in time more than ~10 days.

 Is there any way that I'm able to grab the hourly trend data given a
 date  10 days from the API?

 Thanks in advance,

 James

 --
 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:
 http://groups.google.com/group/twitter-development-talk

 --
 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:
 http://groups.google.com/group/twitter-development-talk




-- 
Adam Green
Twitter API Consultant and Trainer
http://140dev.com
@140dev

-- 
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: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] historic trend data 10 days old

2010-11-22 Thread Taylor Singletary
I can't really speak much on the topic of the analytics tool. I can say that
you'll find most everything in Twitter is focused on real-time -- whether
it's search results, the tweets available for a given user timeline, or the
general structure and emphasis presented by our UI. There's not much on
Twitter that allows one to dwell on the past.

Taylor

On Mon, Nov 22, 2010 at 6:26 AM, Adam Green 140...@gmail.com wrote:

 Taylor, there has been much talk lately about the new Twitter
 Analytics tool that would deliver historical data. Am I correct in
 assuming that this is built on an internal API, and that this API will
 be surfaced eventually for use by us developers?

 On Mon, Nov 22, 2010 at 9:20 AM, Taylor Singletary
 taylorsinglet...@twitter.com wrote:
  Hi James,
  You'll find that, in most cases, the data available for a trend is
 limited
  by the amount of data provided by the Search API. While this goes back
  around 10 days currently, there have been times when less was available.
  Some day we hope to provide more historical data.
  Taylor
 
  On Sat, Nov 20, 2010 at 1:24 PM, James Chivers jchiv...@gmail.com
 wrote:
 
  I'm trying to dig out some hourly trend data from the Twitter API
  using the trends/daily call with the associated date that I'm looking
  for, but I'm not able to go back in time more than ~10 days.
 
  Is there any way that I'm able to grab the hourly trend data given a
  date  10 days from the API?
 
  Thanks in advance,
 
  James
 
  --
  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:
  http://groups.google.com/group/twitter-development-talk
 
  --
  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:
  http://groups.google.com/group/twitter-development-talk
 



 --
 Adam Green
 Twitter API Consultant and Trainer
 http://140dev.com
 @140dev

 --
 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:
 http://groups.google.com/group/twitter-development-talk


-- 
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: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] historic trend data 10 days old

2010-11-22 Thread Adam Green
Yes, but advertisers and sales people are obsessed with the past, and
they provide the dollars that will make Twitter grow. We'll see where
this leads Twitter. I bet they follow the money. Google did, and it
worked out OK. :)

On Mon, Nov 22, 2010 at 9:41 AM, Taylor Singletary
taylorsinglet...@twitter.com wrote:
 I can't really speak much on the topic of the analytics tool. I can say that
 you'll find most everything in Twitter is focused on real-time -- whether
 it's search results, the tweets available for a given user timeline, or the
 general structure and emphasis presented by our UI. There's not much on
 Twitter that allows one to dwell on the past.
 Taylor

 On Mon, Nov 22, 2010 at 6:26 AM, Adam Green 140...@gmail.com wrote:

 Taylor, there has been much talk lately about the new Twitter
 Analytics tool that would deliver historical data. Am I correct in
 assuming that this is built on an internal API, and that this API will
 be surfaced eventually for use by us developers?

 On Mon, Nov 22, 2010 at 9:20 AM, Taylor Singletary
 taylorsinglet...@twitter.com wrote:
  Hi James,
  You'll find that, in most cases, the data available for a trend is
  limited
  by the amount of data provided by the Search API. While this goes back
  around 10 days currently, there have been times when less was available.
  Some day we hope to provide more historical data.
  Taylor
 
  On Sat, Nov 20, 2010 at 1:24 PM, James Chivers jchiv...@gmail.com
  wrote:
 
  I'm trying to dig out some hourly trend data from the Twitter API
  using the trends/daily call with the associated date that I'm looking
  for, but I'm not able to go back in time more than ~10 days.
 
  Is there any way that I'm able to grab the hourly trend data given a
  date  10 days from the API?
 
  Thanks in advance,
 
  James
 
  --
  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:
  http://groups.google.com/group/twitter-development-talk
 
  --
  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:
  http://groups.google.com/group/twitter-development-talk
 



 --
 Adam Green
 Twitter API Consultant and Trainer
 http://140dev.com
 @140dev

 --
 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:
 http://groups.google.com/group/twitter-development-talk

 --
 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:
 http://groups.google.com/group/twitter-development-talk


-- 
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: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Twitpic comments in description

2010-11-22 Thread Karolis Matusevičius
Hey, when I post a tweet with a photo in twitpic.com, I would love to
have a tweet under the photo in twitpic.com as a photo description. I
use Twitter client for Android. In Gravity @ Symbian it worked well.

Hopefully to have it soon. 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/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Post status with in_reply_to_status_id via javascript api

2010-11-22 Thread Chris
I am using the anywhere javascript api with great success, except in
regards to posting a reply to a particular status id. I have no
trouble posting the status, and the returned status object including a
reply to user id, but no params I pass come back with an
in_reply_to_status_id with anything other than null.

I have tried lots of things, but from the looks of the api docs here's
what seems most intuitive to me:

T.Status.update('message', {in_reply_to_status_id: '123456789'}); //
where in_reply_to_status_id is part of the options object
-OR-
T.Status.reply('message', '123456789'); //where in_reply_to_status_id
is the second param passed

Can someone tell me what I'm doing wrong, or what is missing?

-- 
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: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Finding total results from users/search method

2010-11-22 Thread computerzworld
Hello,
   I want to find how many results are found for
particular keyword search. It may have more or less results according
to search query entered by user. I want to find total how many results
are there for a particular keyword in order to implement pagination on
the search results. How can I get total number of records? Please help
me. 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/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Re: statuses/filter streaming api vs Gnip announcement

2010-11-22 Thread Colin Surprenant
bump - anyone?

On Nov 17, 4:16 pm, Colin Surprenant colin.surpren...@gmail.com
wrote:
 Hi,

 - does the usage of the statuses/filter method on the streaming api
 impacted by the Gnip announcement?

 - do we know the maximum rate (or approximation) allowed through the
 statuses/filter method? (incidentally, at which point in terms of rate
 we have to consider firehosing, therefore, Gnip options?

 Thanks,
 Colin

-- 
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: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Tweet button showing 0 count

2010-11-22 Thread kovshenin
Cheers all. I wrote a Twitter app back in 2009 called Foller.me
(http://www.foller.me) which has now moved to Google App Engine. The
latest changes to the app included a Tweet button with the count for
each profile. I simply copied and pasted the code Twitter gave me, but
it doesn't seem to work, tweeting goes alright, but the count is
always 0.

I went forward by clicking the count to see that it's performing a
Twitter search using the current URL that was tweeted, and yeah, there
were no results. The tweeted link automatically gets shortened using
Twitter's shortening service t.co, and the tweets do not show up.

Could anybody help me investigate this? You can try it with any
Twitter name or use mine: http://www.foller.me/kovshenin

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/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] Twitter + Gnip Partnership

2010-11-22 Thread Ryan Sarver
Spritzer is currently at 1% of the Firehose, but as the docs say it's
subject to change without notice

On Sun, Nov 21, 2010 at 10:18 PM, M. Edward (Ed) Borasky
zn...@borasky-research.net wrote:
 Quoting Ryan Sarver rsar...@twitter.com:

 Many of you may wonder what this means for elevated access and
 whitelisting requests. Our default levels like Spritzer, Follow and
 Track will not be changing, and will remain free and available
 directly from Twitter. Companies and developers are encouraged to
 begin development with these free APIs, available at
 http://dev.twitter.com/pages/streaming_api.

 Is Spritzer still 1% of the Firehose? Since the status IDs are no longer
 sequential, the previous obvious sampling algorithm - status ID mod 100
 == 0 - no longer will work.

 --
 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: 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: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] Twitter + Gnip Partnership

2010-11-22 Thread M. Edward (Ed) Borasky

Quoting Ryan Sarver rsar...@twitter.com:


Spritzer is currently at 1% of the Firehose, but as the docs say it's
subject to change without notice


Given the Snowflake algorithm, how can a program consuming Spritzer  
determine whether a Spritzer rate change has happened because


a. People are tweeting at a different rate, exclusive-or
b. Twitter has changed the proportion of Firehose being sent to Spritzer?

--
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: 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: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Re: randomly 401 error

2010-11-22 Thread Nick Bradbury
I also ran into this problem, even though I knew the signature was
fine.  This post from a Twitter Developer Advocate indicates that a
401 may be due to Twitter being stressed:

http://www.devcomments.com/re-intermittent-401-and-502-during-oauth-process-at175902.htm

In my case, ignoring the 401 and resending the request a little later
solved the problem the majority of the time.

On Nov 22, 2:43 am, Alvin Wang alvin0...@gmail.com wrote:
 Hi,
 I am currently developing an application using twitter api.
 However, i will ramdomly receive 401 error (invalid signature).
 Sometime it's working fine but sometime are not.
 Can you please help us to resolve this problem?

 BR,
 Alvin

-- 
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: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] historic trend data 10 days old

2010-11-22 Thread M. Edward (Ed) Borasky
I've seen a few hints of the analytics product and know a fair number  
of people who do that sort of thing for a living. I think they're  
*not* obsessed with the past at all - their wet dream is very much  
like what Wieden and Kennedy and a whole host of partners did this  
summer in real time with Old Spice.


That's the future of Twitter / social media / advertising: teams of  
creative, legal, copy writers, production and analytics people huddled  
around control panels, analytics dashboards, video studios, phone  
banks, etc. It's a bit like mission control for a shuttle launch -  
only if something goes wrong do people look at the past. And mobile /  
iPad / places is going to make it even more real-time.

--
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 Adam Green 140...@gmail.com:


Yes, but advertisers and sales people are obsessed with the past, and
they provide the dollars that will make Twitter grow. We'll see where
this leads Twitter. I bet they follow the money. Google did, and it
worked out OK. :)

On Mon, Nov 22, 2010 at 9:41 AM, Taylor Singletary
taylorsinglet...@twitter.com wrote:

I can't really speak much on the topic of the analytics tool. I can say that
you'll find most everything in Twitter is focused on real-time -- whether
it's search results, the tweets available for a given user timeline, or the
general structure and emphasis presented by our UI. There's not much on
Twitter that allows one to dwell on the past.
Taylor

On Mon, Nov 22, 2010 at 6:26 AM, Adam Green 140...@gmail.com wrote:


Taylor, there has been much talk lately about the new Twitter
Analytics tool that would deliver historical data. Am I correct in
assuming that this is built on an internal API, and that this API will
be surfaced eventually for use by us developers?

On Mon, Nov 22, 2010 at 9:20 AM, Taylor Singletary
taylorsinglet...@twitter.com wrote:
 Hi James,
 You'll find that, in most cases, the data available for a trend is
 limited
 by the amount of data provided by the Search API. While this goes back
 around 10 days currently, there have been times when less was available.
 Some day we hope to provide more historical data.
 Taylor

 On Sat, Nov 20, 2010 at 1:24 PM, James Chivers jchiv...@gmail.com
 wrote:

 I'm trying to dig out some hourly trend data from the Twitter API
 using the trends/daily call with the associated date that I'm looking
 for, but I'm not able to go back in time more than ~10 days.

 Is there any way that I'm able to grab the hourly trend data given a
 date  10 days from the API?

 Thanks in advance,

 James

 --
 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:
 http://groups.google.com/group/twitter-development-talk

 --
 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:
 http://groups.google.com/group/twitter-development-talk




--
Adam Green
Twitter API Consultant and Trainer
http://140dev.com
@140dev

--
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:
http://groups.google.com/group/twitter-development-talk


--
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:
http://groups.google.com/group/twitter-development-talk



--
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:  
http://groups.google.com/group/twitter-development-talk






--
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: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] Twitpic comments in description

2010-11-22 Thread Matt Harris
Hi Karolis,

Twitpic is a third party service which isn't supported by Twitter. For help
with Twitpic you will need to contact them through their developer site.

Their FAQ can be found here:
http://twitpic.com/faq.do

Best,
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


2010/11/22 Karolis Matusevičius karo...@matusevicius.lt

 Hey, when I post a tweet with a photo in twitpic.com, I would love to
 have a tweet under the photo in twitpic.com as a photo description. I
 use Twitter client for Android. In Gravity @ Symbian it worked well.

 Hopefully to have it soon. 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/twitter-api/issues/list
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk


-- 
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: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] Post status with in_reply_to_status_id via javascript api

2010-11-22 Thread Matt Harris
Hi Chris,

The JS-API is considered part of the Internals of @anywhere and isn't
supported by Twitter. You are free to experiment with it but please be aware
that features and functionality may change or be removed without notice.

With regards to what you are trying to achieve, the TweetBox supports the
status update parameters.

You set these parameters by using the 'data' object for the TweetBox. You
can put any key: value into the data literal which is supported by the
REST API.
http://dev.twitter.com/doc/post/statuses/update

Here's an example using the data literal to set
the 'in_reply_to_status_id'.

 twttr.anywhere(function (T) {
   T(#example-metadata).tweetBox({
 'defaultContent' : @anywhere thanks!,
 'data' : {
   'in_reply_to_status_id' : '17889110158'
 }
   });
 });

Best,
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


On Mon, Nov 22, 2010 at 7:31 AM, Chris madmanl...@gmail.com wrote:

 I am using the anywhere javascript api with great success, except in
 regards to posting a reply to a particular status id. I have no
 trouble posting the status, and the returned status object including a
 reply to user id, but no params I pass come back with an
 in_reply_to_status_id with anything other than null.

 I have tried lots of things, but from the looks of the api docs here's
 what seems most intuitive to me:

 T.Status.update('message', {in_reply_to_status_id: '123456789'}); //
 where in_reply_to_status_id is part of the options object
 -OR-
 T.Status.reply('message', '123456789'); //where in_reply_to_status_id
 is the second param passed

 Can someone tell me what I'm doing wrong, or what is missing?

 --
 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:
 http://groups.google.com/group/twitter-development-talk


-- 
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: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] 401 Unathorised error on Update

2010-11-22 Thread Matt Harris
Hi Marius,

In your basestring you have the parameter oauth_verifier. The oauth_verifier
is only used in the final part of the OAuth key exchange flow. If you remove
the oauth_verifier from your POST status update request you should be ok.

Best,
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


On Mon, Nov 22, 2010 at 5:54 AM, Marius Van Wyk mariu...@t-sg.com wrote:

 I have read through the posts here, but i am still struggeling.
 I have recently completed my integraion into Linkedin, using oAuth,
 and no issues.
 Now I started on the Twitter API.

 I due the auth, and i received my Acess token,secret and the Pin used
 to allow the access - I assume this pin is the same as Verifier.

 I started with
 http://api.twitter.com/1/users/show.xml?screen_name=screenname,
 and this is working, but i can not get a post for the update
 http://api.twitter.com/1/statuses/update.xml?status=
 +HttpUtility.UrlEncode(NewTweet).

 The signature and everything works on the oAuth Standards, that is why
 it is working on Linkedin, and on the initial Authorization requests.
 I started on this, asi thought it would be simple, but there is no
 proper example i could find for C#, without using some third part dll.
 I want to do this myself as with linked in, as you understand the
 whole thing better then.

 Please help:

 Signitaure Base:
 POSThttp%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses
 %2Fupdate.xmloauth_consumer_key%%26oauth_nonce
 %3D9465962%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
 %3D1290433869%26oauth_token%%26oauth_verifier
 %3D2156438%26oauth_version%3D1.0%26status%3DNew%2BTweet%2BMessage

 Signiture:
 OKs5OLmb+31l2sBFaQUV2ZH81ks=

 Headers:
 {Authorization: OAuth realm=http://
 api.twitter.com/,oauth_consumer_key=,oauth_token=186400161-
 ,oauth_signature_method=HMAC-SHA1,oauth_signature=OKs5OLmb
 %2b31l2sBFaQUV2ZH81ks
 %3d,oauth_timestamp=1290433869,oauth_nonce=9465962,oauth_version=1.0
 }

 Any Help will be appreciated

 --
 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:
 http://groups.google.com/group/twitter-development-talk


-- 
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: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] Finding total results from users/search method

2010-11-22 Thread Matt Harris
Hi computerzworld,

This information is not available through the API.

The following information might be helpful with paginating the Search
results though. The Search API will return roughly 1500 results total,
separated into pages of size 'rpp' (results per page). The maximum rpp is
100, and the default is 15.

Best,
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


On Mon, Nov 22, 2010 at 8:14 AM, computerzworld meat2...@gmail.com wrote:

 Hello,
   I want to find how many results are found for
 particular keyword search. It may have more or less results according
 to search query entered by user. I want to find total how many results
 are there for a particular keyword in order to implement pagination on
 the search results. How can I get total number of records? Please help
 me. 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/twitter-api/issues/list
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk


-- 
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: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] Finding total results from users/search method

2010-11-22 Thread Matt Harris
Just realised you were referring to users/search. Like Search. the number of
results is not returned by this method.

The maximum results returned are 1000 with the per_page argument allowing
you to choose up to 20 results per page. In terms of behavior this feature
is the same as Find People on twitter.com.

In that interface we just provide a 'more' button when keeps being displayed
until the results returned are not equal to the per_page requested.

Best
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


On Mon, Nov 22, 2010 at 11:48 AM, Matt Harris thematthar...@twitter.comwrote:

 Hi computerzworld,

 This information is not available through the API.

 The following information might be helpful with paginating the Search
 results though. The Search API will return roughly 1500 results total,
 separated into pages of size 'rpp' (results per page). The maximum rpp is
 100, and the default is 15.

 Best,
 @themattharris
 Developer Advocate, Twitter
 http://twitter.com/themattharris



 On Mon, Nov 22, 2010 at 8:14 AM, computerzworld meat2...@gmail.comwrote:

 Hello,
   I want to find how many results are found for
 particular keyword search. It may have more or less results according
 to search query entered by user. I want to find total how many results
 are there for a particular keyword in order to implement pagination on
 the search results. How can I get total number of records? Please help
 me. 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/twitter-api/issues/list
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk




-- 
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: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] statuses/filter streaming api vs Gnip announcement

2010-11-22 Thread Matt Harris
Hi Colin,

I've answered your questions inline:

* does the usage of the statuses/filter method on the streaming api impacted
by the Gnip announcement?

Quoting Ryan Sarver. Our default levels like Spritzer, Follow and Track
will not be changing, and will remain free and available directly from
Twitter.

* do we know the maximum rate (or approximation) allowed through
the statuses/filter method? (incidentally, at which point in terms of ratewe
have to consider firehosing, therefore, Gnip options?

The limits of the free APIs are documented on:
http://dev.twitter.com/pages/streaming_api

If you need elevated access to the Streams for analysis or
non-display products you should work with Gnip to find the right data
product for your needs.

Best,
Matt

-- 
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: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] Getting more then 20 mentions

2010-11-22 Thread Matt Harris
Hi Ran,

The mentions timeline method is described in detail here:
http://dev.twitter.com/doc/get/statuses/mentions

In it we describe the count parameter which you can use to retrieve up to
the most recent 200 mentions in one request. To obtain more you need to use
the page parameter to move through the timeline. The maximum mentions
available through the API is 800.

I hope that helps,
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


On Mon, Nov 22, 2010 at 9:54 AM, Ran Margaliot ran5...@gmail.com wrote:

 Hello,

 i am trying to get the latest mentions of my authenticated user, i use
 statuses/mentions, i know this method only returns 20 statuses per
 page, but even when i use paging, i dont get all of my users mentions
 (i get about 30 when my user has a lot more).

 any thoughts?

 --
 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:
 http://groups.google.com/group/twitter-development-talk


-- 
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: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Re: Post status with in_reply_to_status_id via javascript api

2010-11-22 Thread Chris
Matt,

Thank you for your reply. I will keep tweetbox as an option, but since
I am integrating lots of twitter functionality I am hoping to stick to
a common strategy, which in this case would be using the standard
anywhere methods.

Is there anyone that does support the JS-API?

Thanks much,
Chris

-- 
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: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Geo enable via API

2010-11-22 Thread Sickpea
The recently updated Twitter iPhone/iPad client (3.2.1) supports
enabling geo on an account (i.e. geo_enabled=true) directly from the
application, on the compose screen. Is it using an API that is also
available to 3rd-party twitter developers?

-- 
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: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Re: How do I find the URL of a Twitter user WWW page, having only their twitterID?

2010-11-22 Thread Kaspa
Sorry guys but none of the above tips seem to be working...

Any other thoughts?

K.

On Nov 18, 11:17 pm, Abraham Williams 4bra...@gmail.com wrote:
 Second 
 tip:http://blog.abrah.am/2010/04/little-known-twitter-and-twitterapi.html

 Abraham
 -
 Abraham Williams | Hacker Advocate | abrah.am
 @abraham https://twitter.com/abraham | github.com/abraham | blog.abrah.am
 This email is: [ ] shareable [x] ask first [ ] private.

 On Thu, Nov 18, 2010 at 14:15, Tom van der Woerdt i...@tvdw.eu wrote:

  Doesn't seem to work with #newtwitter.

  Tom

  On 11/18/10 11:14 PM, @Red_Eyes wrote:
   You can do it, but you have to be logged in first which suggests that
   this would be a rate limited lookup.

   eg:http://twitter.com/?id=

   Regards

   On Nov 18, 6:00 pm, Kaspa kacper.sul...@gmail.com wrote:
   The title says it all. Been looking for some time now.
   (I know I can lookup the API for user detail and then use that. That's
   not what I want, I want a way of directly putting the URL together)

   Are URLs that directly use userIDs in some way prohibited?

  --
  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:
 http://groups.google.com/group/twitter-development-talk



-- 
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: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Re: historic trend data 10 days old

2010-11-22 Thread James Chivers
Thanks Taylor et al. for the responses. If there's a chance that I can
get a copy of this data (any format/type would be awesome) for a
project I'm working on, I'd love to hear from you ;)

Right now, I've daily trend data (20 top trends for each hour of the
day) from December 2008 to present day, but it is potted due to a bug
in a script that was sucking it down.

I'm more than happy to give any developer a copy of what I have if it
might help others, just drop me a line.

I can see that if Twitter are building analytics tools that maybe
releasing this data might cause some internal debate, but I'm happy to
discuss my project ideas with the Twitter folk if it'll help my
request of course.

Thanks again,

James


On Nov 22, 8:37 pm, M. Edward (Ed) Borasky zn...@borasky-
research.net wrote:
 I've seen a few hints of the analytics product and know a fair number  
 of people who do that sort of thing for a living. I think they're  
 *not* obsessed with the past at all - their wet dream is very much  
 like what Wieden and Kennedy and a whole host of partners did this  
 summer in real time with Old Spice.

 That's the future of Twitter / social media / advertising: teams of  
 creative, legal, copy writers, production and analytics people huddled  
 around control panels, analytics dashboards, video studios, phone  
 banks, etc. It's a bit like mission control for a shuttle launch -  
 only if something goes wrong do people look at the past. And mobile /  
 iPad / places is going to make it even more real-time.
 --
 M. Edward (Ed) Boraskyhttp://borasky-research.nethttp://twitter.com/znmeb

 A mathematician is a device for turning coffee into theorems. - Paul Erdos

 Quoting Adam Green 140...@gmail.com:



  Yes, but advertisers and sales people are obsessed with the past, and
  they provide the dollars that will make Twitter grow. We'll see where
  this leads Twitter. I bet they follow the money. Google did, and it
  worked out OK. :)

  On Mon, Nov 22, 2010 at 9:41 AM, Taylor Singletary
  taylorsinglet...@twitter.com wrote:
  I can't really speak much on the topic of the analytics tool. I can say 
  that
  you'll find most everything in Twitter is focused on real-time -- whether
  it's search results, the tweets available for a given user timeline, or the
  general structure and emphasis presented by our UI. There's not much on
  Twitter that allows one to dwell on the past.
  Taylor

  On Mon, Nov 22, 2010 at 6:26 AM, Adam Green 140...@gmail.com wrote:

  Taylor, there has been much talk lately about the new Twitter
  Analytics tool that would deliver historical data. Am I correct in
  assuming that this is built on an internal API, and that this API will
  be surfaced eventually for use by us developers?

  On Mon, Nov 22, 2010 at 9:20 AM, Taylor Singletary
  taylorsinglet...@twitter.com wrote:
   Hi James,
   You'll find that, in most cases, the data available for a trend is
   limited
   by the amount of data provided by the Search API. While this goes back
   around 10 days currently, there have been times when less was available.
   Some day we hope to provide more historical data.
   Taylor

   On Sat, Nov 20, 2010 at 1:24 PM, James Chivers jchiv...@gmail.com
   wrote:

   I'm trying to dig out some hourly trend data from the Twitter API
   using the trends/daily call with the associated date that I'm looking
   for, but I'm not able to go back in time more than ~10 days.

   Is there any way that I'm able to grab the hourly trend data given a
   date  10 days from the API?

   Thanks in advance,

   James

   --
   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:
  http://groups.google.com/group/twitter-development-talk

   --
   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:
  http://groups.google.com/group/twitter-development-talk

  --
  Adam Green
  Twitter API Consultant and Trainer
 http://140dev.com
  @140dev

  --
  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:
 http://groups.google.com/group/twitter-development-talk

  --
  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:
 http://groups.google.com/group/twitter-development-talk

  --
  Twitter developer documentation and 

Re: [twitter-dev] Re: historic trend data 10 days old

2010-11-22 Thread Matt Harris
Hey James,

Also remember you can get the last 3-4 weeks of trend data (broken into
days) by making a request to:
http://api.twitter.com/1/trends/weekly.json?date=START_DATE

e.g. today you can go back as far as:
http://api.twitter.com/1/trends/weekly.json?date=2010-10-24

As with most of Twitter the limits on how far back we can go is
infrastructure based. We're working on our capacity all the time and if any
developments are made to the period over which trend data can be received
we'll let everyone know.

Best,
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


On Mon, Nov 22, 2010 at 2:52 PM, James Chivers jchiv...@gmail.com wrote:

 Thanks Taylor et al. for the responses. If there's a chance that I can
 get a copy of this data (any format/type would be awesome) for a
 project I'm working on, I'd love to hear from you ;)

 Right now, I've daily trend data (20 top trends for each hour of the
 day) from December 2008 to present day, but it is potted due to a bug
 in a script that was sucking it down.

 I'm more than happy to give any developer a copy of what I have if it
 might help others, just drop me a line.

 I can see that if Twitter are building analytics tools that maybe
 releasing this data might cause some internal debate, but I'm happy to
 discuss my project ideas with the Twitter folk if it'll help my
 request of course.

 Thanks again,

 James


 On Nov 22, 8:37 pm, M. Edward (Ed) Borasky zn...@borasky-
 research.net wrote:
  I've seen a few hints of the analytics product and know a fair number
  of people who do that sort of thing for a living. I think they're
  *not* obsessed with the past at all - their wet dream is very much
  like what Wieden and Kennedy and a whole host of partners did this
  summer in real time with Old Spice.
 
  That's the future of Twitter / social media / advertising: teams of
  creative, legal, copy writers, production and analytics people huddled
  around control panels, analytics dashboards, video studios, phone
  banks, etc. It's a bit like mission control for a shuttle launch -
  only if something goes wrong do people look at the past. And mobile /
  iPad / places is going to make it even more real-time.
  --
  M. Edward (Ed) Boraskyhttp://borasky-research.nethttp://
 twitter.com/znmeb
 
  A mathematician is a device for turning coffee into theorems. - Paul
 Erdos
 
  Quoting Adam Green 140...@gmail.com:
 
 
 
   Yes, but advertisers and sales people are obsessed with the past, and
   they provide the dollars that will make Twitter grow. We'll see where
   this leads Twitter. I bet they follow the money. Google did, and it
   worked out OK. :)
 
   On Mon, Nov 22, 2010 at 9:41 AM, Taylor Singletary
   taylorsinglet...@twitter.com wrote:
   I can't really speak much on the topic of the analytics tool. I can
 say that
   you'll find most everything in Twitter is focused on real-time --
 whether
   it's search results, the tweets available for a given user timeline,
 or the
   general structure and emphasis presented by our UI. There's not much
 on
   Twitter that allows one to dwell on the past.
   Taylor
 
   On Mon, Nov 22, 2010 at 6:26 AM, Adam Green 140...@gmail.com wrote:
 
   Taylor, there has been much talk lately about the new Twitter
   Analytics tool that would deliver historical data. Am I correct in
   assuming that this is built on an internal API, and that this API
 will
   be surfaced eventually for use by us developers?
 
   On Mon, Nov 22, 2010 at 9:20 AM, Taylor Singletary
   taylorsinglet...@twitter.com wrote:
Hi James,
You'll find that, in most cases, the data available for a trend is
limited
by the amount of data provided by the Search API. While this goes
 back
around 10 days currently, there have been times when less was
 available.
Some day we hope to provide more historical data.
Taylor
 
On Sat, Nov 20, 2010 at 1:24 PM, James Chivers jchiv...@gmail.com
 
wrote:
 
I'm trying to dig out some hourly trend data from the Twitter API
using the trends/daily call with the associated date that I'm
 looking
for, but I'm not able to go back in time more than ~10 days.
 
Is there any way that I'm able to grab the hourly trend data given
 a
date  10 days from the API?
 
Thanks in advance,
 
James
 
--
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:
   http://groups.google.com/group/twitter-development-talk
 
--
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:
   http://groups.google.com/group/twitter-development-talk

[twitter-dev] Re: twitter

2010-11-22 Thread Jannick Bolten
Well, that was clear. We can't really help you with the provided
information... Which language are you using, in a framework, did it
ever work, what have you tried, ...

Jannick

-- 
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: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Twitter API search functionality

2010-11-22 Thread Bandarupalli kalyan
Hi Team,

I am implementing twitter search using your API. I wonder is there any
way to search the twitter by email? currently it supporting search by
screen name only.

I really appreciate if you could guide me in right direction to get
this working.

I am searching using twitter application and API. Looking forward to
hear from you.

Many thanks
Regards
Kalyan

-- 
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: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Re: Snowflake: An update and some very important information

2010-11-22 Thread jough
I gather the reason for the 64-bit int type was to maintain some
backwards-compatibility around the old sequential IDs, so both the old-
style and Snowflake IDs could be sorted and you could glean that
smaller IDs are older than larger integers.  U/GUIDs wouldn't be
sortable in any meaningful fashion.

- Jough

On Nov 19, 10:42 pm, dean dean.pou...@gmail.com wrote:
 Why not just use a GUID or UUID type for the ID type (IE:
 3F2504E0-4F89-11D3-9A0C-0305E82C3301)?  This way you're not restricted
 by using a numeric data type that each language could potentially
 define differently.

 For languages that don't directly have a GUID or UUID type, they can
 treat that ID as a string, and the higher level languages can use the
 GUID data type directly.

 On Oct 18, 7:19 pm, Matt Harris thematthar...@twitter.com wrote:

  Last week you may remember Twitter planned to enable the new Status ID
  generator - 'Snowflake' but didn't. The purpose of this email is to explain
  the reason why this didn't happen, what we are doing about it, and what the
  new release plan is.

  So what is Snowflake?
  --
  Snowflake is a service we will be using to generate unique Tweet IDs. These
  Tweet IDs are unique 64bit unsigned integers, which, instead of being
  sequential like the current IDs, are based on time. The full ID is composed
  of a timestamp, a worker number, and a sequence number.

  The problem
  -
  Before launch it came to our attention that some programming languages such
  as Javascript cannot support numbers with 53bits. This can be easily
  examined by running a command similar to: (90071992547409921).toString() in
  your browsers console or by running the following JSON snippet through your
  JSON parser.

      {id: 10765432100123456789, id_str: 10765432100123456789}

  In affected JSON parsers the ID will not be converted successfully and will
  lose accuracy. In some parsers there may even be an exception.

  The solution
  
  To allow javascript and JSON parsers to read the IDs we need to include a
  string version of any ID when responding in the JSON format. What this means
  is Status, User, Direct Message and Saved Search IDs in the Twitter API will
  now be returned as an integer and a string in JSON responses. This will
  apply to the main Twitter API, the Streaming API and the Search API.

  For example, a status object will now contain an id and an id_str. The
  following JSON representation of a status object shows the two versions of
  the ID fields for each data point.

  [
    {
      coordinates: null,
      truncated: false,
      created_at: Thu Oct 14 22:20:15 + 2010,
      favorited: false,
      entities: {
        urls: [
        ],
        hashtags: [
        ],
        user_mentions: [
          {
            name: Matt Harris,
            id: 777925,
            id_str: 777925,
            indices: [
              0,
              14
            ],
            screen_name: themattharris
          }
        ]
      },
      text: @themattharris hey how are things?,
      annotations: null,
      contributors: [
        {
          id: 819797,
          id_str: 819797,
          screen_name: episod
        }
      ],
      id: 12738165059,
      id_str: 12738165059,
      retweet_count: 0,
      geo: null,
      retweeted: false,
      in_reply_to_user_id: 777925,
      in_reply_to_user_id_str: 777925,
      in_reply_to_screen_name: themattharris,
      user: {
        id: 6253282
        id_str: 6253282
      },
      source: web,
      place: null,
      in_reply_to_status_id: 12738040524
      in_reply_to_status_id_str: 12738040524
    }
  ]

  What should you do - RIGHT NOW
  --
  The first thing you should do is attempt to decode the JSON snippet above
  using your production code parser. Observe the output to confirm the ID has
  not lost accuracy.

  What you do next depends on what happens:

  * If your code converts the ID successfully without losing accuracy you are
  OK but should consider converting to the _str versions of IDs as soon as
  possible.
  * If your code has lost accuracy, convert your code to using the _str
  version immediately. If you do not do this your code will be unable to
  interact with the Twitter API reliably.
  * In some language parsers, the JSON may throw an exception when reading the
  ID value. If this happens in your parser you will need to ‘pre-parse’ the
  data, removing or replacing ID parameters with their _str versions.

  Summary
  -
  1) If you develop in Javascript, know that you will have to update your code
  to read the string version instead of the integer version.

  2) If you use a JSON decoder, validate that the example JSON, above, decodes
  without throwing exceptions. If exceptions are thrown, you will need to
  pre-parse the data. Please let us know the name, version, and language of
  the parser which throws 

[twitter-dev] Any progress on Favorites API?

2010-11-22 Thread Tim Bull
I see posts from several months ago, so I thought I ask again
http://groups.google.com/group/twitter-development-talk/browse_thread/thread/134d3bf90a717f8d/806fa7325dd1c6e7?lnk=gstq=twitter+favorites#806fa7325dd1c6e7

I need to regularly extract and process a users favorites and as noted
in that previous link they appear to be stored by date of Tweet ID,
which means to be fairly sure you get all the tweets you need to page
through all of them ( a user could although admittedly unlikely,
favourite a tweet that was older than last time you checked them).

I note that the count parameter e.g. count=200 works but is
undocumented which is helpful (that it works) - in one use case we
have a user with over 1,500 favourites.

It would be great to have this under-utilised feature in Twitter get a
bit of API love and be modernised some more.  I can achieve what I
want by caching on my end, but it means I have to hit Twitter to fetch
data I already have which isn't ideal - you don't want more API calls
I don't want to take the time fetching data I almost certainly already
have for the one in 100 chance it's changed.

The documentation here is also a bit sketchy - for example, is there a
page limit like with other calls? http://dev.twitter.com/doc/get/favorites
If so, it would be great to have it documented here.

Thanks - I guess I'm just highlighting that there's at least one
developer who's still interested in seeing the favourites updated, and
I'm optimistically wondering if Twitter can provide any comment on
where it's at in the planning.



-- 
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: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Re: statuses/filter streaming api vs Gnip announcement

2010-11-22 Thread Rob
To add to Matt's comment - we at Gnip haven't yet announced a coverage-
based product that mimics Twitter's stream.twitter.com/statuses/
filter, but stay tuned (http://twitter.com/gnip).  We'll be announcing
several new firehose-based products in the near future as soon as we
bring them online.

Any nondisplay companies or developers who want to participate in the
private beta period of our new commercial Twitter products are
welcomed to drop us a note at i...@gnip.com.

- Rob Johnson

On Nov 22, 1:06 pm, Matt Harris thematthar...@twitter.com wrote:
 Hi Colin,

 I've answered your questions inline:

 * does the usage of the statuses/filter method on the streaming api impacted
 by the Gnip announcement?

 Quoting Ryan Sarver. Our default levels like Spritzer, Follow and Track
 will not be changing, and will remain free and available directly from
 Twitter.

 * do we know the maximum rate (or approximation) allowed through
 the statuses/filter method? (incidentally, at which point in terms of ratewe
 have to consider firehosing, therefore, Gnip options?

 The limits of the free APIs are documented on:
    http://dev.twitter.com/pages/streaming_api

 If you need elevated access to the Streams for analysis or
 non-display products you should work with Gnip to find the right data
 product for your needs.

 Best,
 Matt

-- 
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: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] twitter

2010-11-22 Thread Georgooty varghese
Hi,
Could you give more information..

On Mon, Nov 22, 2010 at 3:20 PM, deepa.23.naga...@gmail.com 
deepa.23.naga...@gmail.com wrote:

 Hi i am getting verify credential error...

 Please can you suggest me..

 Thank you,

 deepa

 --
 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:
 http://groups.google.com/group/twitter-development-talk


-- 
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: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] User Streams count parameter

2010-11-22 Thread Jonathon Hill
Per http://dev.twitter.com/pages/user_streams_suggestions:

If disconnected for just a few minutes, use the streaming count
parameter to backfill missing events. Note: count is currently
disabled May 22, 2010

Why was count disabled for User Streams, and is there any plan to make
it available once again?

Thanks,

Jonathon Hill
http://rainmakerapp.com

-- 
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: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Re: randomly 401 error

2010-11-22 Thread Alvin Wang
Are there any other solutions? Retry will still got 401 randomly. Just
wondering is there any twitter tech person can help?


On 11月23日, 上午3時28分, Nick Bradbury nick.bradb...@gmail.com wrote:
 I also ran into this problem, even though I knew the signature was
 fine.  This post from a Twitter Developer Advocate indicates that a401may 
 be due to Twitter being stressed:

 http://www.devcomments.com/re-intermittent-401-and-502-during-oauth-p...

 In my case, ignoring the401and resending the request a little later
 solved the problem the majority of the time.

 On Nov 22, 2:43 am, Alvin Wang alvin0...@gmail.com wrote:



  Hi,
  I am currently developing an application using twitter api.
  However, i will ramdomly receive401error (invalid signature).
  Sometime it's working fine but sometime are not.
  Can you please help us to resolve this problem?

  BR,
  Alvin- 隱藏被引用文字 -

 - 顯示被引用文字 -

-- 
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: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] Re: randomly 401 error

2010-11-22 Thread Edward Hotchkiss
I get a lot of 301s. Permanently moved. http://www.diplomunity.com/

On Nov 23, 2010, at 12:50 AM, Alvin Wang wrote:

 Are there any other solutions? Retry will still got 401 randomly. Just
 wondering is there any twitter tech person can help?
 
 
 On 11月23日, 上午3時28分, Nick Bradbury nick.bradb...@gmail.com wrote:
 I also ran into this problem, even though I knew the signature was
 fine.  This post from a Twitter Developer Advocate indicates that a401may 
 be due to Twitter being stressed:
 
 http://www.devcomments.com/re-intermittent-401-and-502-during-oauth-p...
 
 In my case, ignoring the401and resending the request a little later
 solved the problem the majority of the time.
 
 On Nov 22, 2:43 am, Alvin Wang alvin0...@gmail.com wrote:
 
 
 
 Hi,
 I am currently developing an application using twitter api.
 However, i will ramdomly receive401error (invalid signature).
 Sometime it's working fine but sometime are not.
 Can you please help us to resolve this problem?
 
 BR,
 Alvin- 隱藏被引用文字 -
 
 - 顯示被引用文字 -
 
 -- 
 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: 
 http://groups.google.com/group/twitter-development-talk


Regards,


Edward Hotchkiss
edw...@edwardhotchkiss.com
http://www.edwardhotchkiss.com/




-- 
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: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] Re: randomly 401 error

2010-11-22 Thread Matt Harris
Hey Alvin,

So the community and developers can help you we'll need to know a little bit
more about the error you are receiving. Things like the API request you are
making, the request basestring, and the full response you get back are good
things to include.

Be careful to not include any passwords or OAuth secrets in anything you
share.

Best,
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


2010/11/22 Alvin Wang alvin0...@gmail.com

 Are there any other solutions? Retry will still got 401 randomly. Just
 wondering is there any twitter tech person can help?


 On 11月23日, 上午3時28分, Nick Bradbury nick.bradb...@gmail.com wrote:
  I also ran into this problem, even though I knew the signature was
  fine.  This post from a Twitter Developer Advocate indicates that
 a401may be due to Twitter being stressed:
 
  http://www.devcomments.com/re-intermittent-401-and-502-during-oauth-p...
 
  In my case, ignoring the401and resending the request a little later
  solved the problem the majority of the time.
 
  On Nov 22, 2:43 am, Alvin Wang alvin0...@gmail.com wrote:
 
 
 
   Hi,
   I am currently developing an application using twitter api.
   However, i will ramdomly receive401error (invalid signature).
   Sometime it's working fine but sometime are not.
   Can you please help us to resolve this problem?
 
   BR,
   Alvin- 隱藏被引用文字 -
 
  - 顯示被引用文字 -

 --
 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:
 http://groups.google.com/group/twitter-development-talk


-- 
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: 
http://groups.google.com/group/twitter-development-talk