Re: [twitter-dev] Getting since date or since_id is too old Error code 403 when trying to use search API with since_id

2011-05-09 Thread Matt Harris
Hi Abhi,

The ID you are passing is 1304977102 which is really old. If you are not
sure which since_id to use you should omit it from your query. The response
from the API will then include the oldest since_id available.

Remember the Search API only stores the last 7 days worth of Tweets.
Anything created more than a week ago will not be available through the
Search API.

You can learn more about Search on our developer resources page:
http://dev.twitter.com/doc/get/search
and
http://dev.twitter.com/pages/using_search

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


On Mon, May 9, 2011 at 8:34 PM, Abhi abhishek2j...@gmail.com wrote:

 sample url :
 http://search.twitter.com/search.atom?lang=enrpp=100result_type=mixedq=%22Geometry+Essentials+For+Dummies%22+Mark+Ryansince_id=1304977102

 all my twitter search api calls (with since_id in them ) are
 returning since date or since_id is too old

 --
 Twitter developer documentation and resources: https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk


-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: [twitter-dev] Getting since date or since_id is too old Error code 403 when trying to use search API with since_id

2011-05-09 Thread Abhishek Jain
Hi Matt, thanks for the quick response:

http://search.twitter.com/search.atom?lang=enrpp=100result_type=mixedq=%22Hell+To+Pay%22+Neal+Hallsince_id=
*1304633831*

However unix time 1304633831 stands for May 5th is that too old for the
twitter API?

Cheers,
Abhi

On Mon, May 9, 2011 at 8:42 PM, Matt Harris thematthar...@twitter.comwrote:

 Hi Abhi,

 The ID you are passing is 1304977102 which is really old. If you are not
 sure which since_id to use you should omit it from your query. The response
 from the API will then include the oldest since_id available.

 Remember the Search API only stores the last 7 days worth of Tweets.
 Anything created more than a week ago will not be available through the
 Search API.

 You can learn more about Search on our developer resources page:
 http://dev.twitter.com/doc/get/search
 and
 http://dev.twitter.com/pages/using_search

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



 On Mon, May 9, 2011 at 8:34 PM, Abhi abhishek2j...@gmail.com wrote:

 sample url :
 http://search.twitter.com/search.atom?lang=enrpp=100result_type=mixedq=%22Geometry+Essentials+For+Dummies%22+Mark+Ryansince_id=1304977102

 all my twitter search api calls (with since_id in them ) are
 returning since date or since_id is too old

 --
 Twitter developer documentation and resources:
 https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk


  --
 Twitter developer documentation and resources: https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk




-- 
cheers,
Abhishek jain

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: [twitter-dev] Getting since date or since_id is too old Error code 403 when trying to use search API with since_id

2011-05-09 Thread Mark Linsey
since_id values are tweet ID's, not unix timestamps.

On Mon, May 9, 2011 at 8:47 PM, Abhishek Jain abhishek2j...@gmail.comwrote:

 Hi Matt, thanks for the quick response:


 http://search.twitter.com/search.atom?lang=enrpp=100result_type=mixedq=%22Hell+To+Pay%22+Neal+Hallsince_id=
 *1304633831*

 However unix time 1304633831 stands for May 5th is that too old for the
 twitter API?

 Cheers,
 Abhi


 On Mon, May 9, 2011 at 8:42 PM, Matt Harris thematthar...@twitter.comwrote:

 Hi Abhi,

 The ID you are passing is 1304977102 which is really old. If you are not
 sure which since_id to use you should omit it from your query. The response
 from the API will then include the oldest since_id available.

 Remember the Search API only stores the last 7 days worth of Tweets.
 Anything created more than a week ago will not be available through the
 Search API.

 You can learn more about Search on our developer resources page:
 http://dev.twitter.com/doc/get/search
 and
 http://dev.twitter.com/pages/using_search

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



 On Mon, May 9, 2011 at 8:34 PM, Abhi abhishek2j...@gmail.com wrote:

 sample url :
 http://search.twitter.com/search.atom?lang=enrpp=100result_type=mixedq=%22Geometry+Essentials+For+Dummies%22+Mark+Ryansince_id=1304977102

 all my twitter search api calls (with since_id in them ) are
 returning since date or since_id is too old

 --
 Twitter developer documentation and resources:
 https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk


  --
 Twitter developer documentation and resources:
 https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk




 --
 cheers,
 Abhishek jain

 --
 Twitter developer documentation and resources: https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk


-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: [twitter-dev] Getting since date or since_id is too old Error code 403 when trying to use search API with since_id

2011-05-09 Thread Matt Harris
Hi Abhi,

As Mark mentions, since_id is a Tweet ID not a unix timestamp. Right now
this is in the region of 67770831463395328.

If you want to Search since a certain date you can include the parameter
since:-mm-dd in your query parameter. e.g:

http://search.twitter.com/search.atom?lang=enrpp=100result_type=mixedq=%22Hell+To+Pay%22+Neal+Hall+since%3A2011-05-08

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


On Mon, May 9, 2011 at 8:55 PM, Mark Linsey m...@crowdbooster.com wrote:

 since_id values are tweet ID's, not unix timestamps.


 On Mon, May 9, 2011 at 8:47 PM, Abhishek Jain abhishek2j...@gmail.comwrote:

 Hi Matt, thanks for the quick response:


 http://search.twitter.com/search.atom?lang=enrpp=100result_type=mixedq=%22Hell+To+Pay%22+Neal+Hallsince_id=
 *1304633831*

 However unix time 1304633831 stands for May 5th is that too old for the
 twitter API?

 Cheers,
 Abhi


 On Mon, May 9, 2011 at 8:42 PM, Matt Harris thematthar...@twitter.comwrote:

 Hi Abhi,

 The ID you are passing is 1304977102 which is really old. If you are not
 sure which since_id to use you should omit it from your query. The response
 from the API will then include the oldest since_id available.

 Remember the Search API only stores the last 7 days worth of Tweets.
 Anything created more than a week ago will not be available through the
 Search API.

 You can learn more about Search on our developer resources page:
 http://dev.twitter.com/doc/get/search
 and
 http://dev.twitter.com/pages/using_search

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



 On Mon, May 9, 2011 at 8:34 PM, Abhi abhishek2j...@gmail.com wrote:

 sample url :
 http://search.twitter.com/search.atom?lang=enrpp=100result_type=mixedq=%22Geometry+Essentials+For+Dummies%22+Mark+Ryansince_id=1304977102

 all my twitter search api calls (with since_id in them ) are
 returning since date or since_id is too old

 --
 Twitter developer documentation and resources:
 https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk


  --
 Twitter developer documentation and resources:
 https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk




 --
 cheers,
 Abhishek jain

 --
 Twitter developer documentation and resources:
 https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk


  --
 Twitter developer documentation and resources: https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk


-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: [twitter-dev] Getting since date or since_id is too old Error code 403 when trying to use search API with since_id

2011-05-09 Thread Abhishek Jain
Thanks Mark and Matt for the help. solved the problem :)

On Mon, May 9, 2011 at 9:02 PM, Matt Harris thematthar...@twitter.comwrote:

 Hi Abhi,

 As Mark mentions, since_id is a Tweet ID not a unix timestamp. Right now
 this is in the region of 67770831463395328.

 If you want to Search since a certain date you can include the parameter
 since:-mm-dd in your query parameter. e.g:

 http://search.twitter.com/search.atom?lang=enrpp=100result_type=mixedq=%22Hell+To+Pay%22+Neal+Hall+since%3A2011-05-08

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


 On Mon, May 9, 2011 at 8:55 PM, Mark Linsey m...@crowdbooster.com wrote:

 since_id values are tweet ID's, not unix timestamps.


 On Mon, May 9, 2011 at 8:47 PM, Abhishek Jain abhishek2j...@gmail.comwrote:

 Hi Matt, thanks for the quick response:


 http://search.twitter.com/search.atom?lang=enrpp=100result_type=mixedq=%22Hell+To+Pay%22+Neal+Hallsince_id=
 *1304633831*

 However unix time 1304633831 stands for May 5th is that too old for the
 twitter API?

 Cheers,
 Abhi


 On Mon, May 9, 2011 at 8:42 PM, Matt Harris 
 thematthar...@twitter.comwrote:

 Hi Abhi,

 The ID you are passing is 1304977102 which is really old. If you are not
 sure which since_id to use you should omit it from your query. The response
 from the API will then include the oldest since_id available.

 Remember the Search API only stores the last 7 days worth of Tweets.
 Anything created more than a week ago will not be available through the
 Search API.

 You can learn more about Search on our developer resources page:
 http://dev.twitter.com/doc/get/search
 and
 http://dev.twitter.com/pages/using_search

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



 On Mon, May 9, 2011 at 8:34 PM, Abhi abhishek2j...@gmail.com wrote:

 sample url :
 http://search.twitter.com/search.atom?lang=enrpp=100result_type=mixedq=%22Geometry+Essentials+For+Dummies%22+Mark+Ryansince_id=1304977102

 all my twitter search api calls (with since_id in them ) are
 returning since date or since_id is too old

 --
 Twitter developer documentation and resources:
 https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk


  --
 Twitter developer documentation and resources:
 https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk




 --
 cheers,
 Abhishek jain

 --
 Twitter developer documentation and resources:
 https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk


  --
 Twitter developer documentation and resources:
 https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk


  --
 Twitter developer documentation and resources: https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk




-- 
cheers,
Abhishek jain

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk