Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8153959
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T16:11:10+00:00 2026-06-06T16:11:10+00:00

I am using the Twitter Search API and I can’t understand the id field

  • 0

I am using the Twitter Search API and I can’t understand the id field of a tweet.

For example here is one: <id>tag:search.twitter.com,2005:1990561514</id>. The real ID is the final number part, right? Why doesn’t Twitter already provide this in a single element? And, why is there a year of 2005on the ID field? Is that the ID of that year and the following year tweets get an ID recounted to zero? Is the ID indexed to the year?

I am asking all this stuff, because I am going to use the option of since_id to retrive new tweets. If the ID isn’t really unique and depends on the year, it won’t work as expected.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T16:11:12+00:00Added an answer on June 6, 2026 at 4:11 pm

    The tag is unique – but parts of it are redundant.

    tag:search.twitter.com,2005:1990561514
    

    Obviously, search.twitter.com is the URL from where you requested the document.

    The ,2005 is constant. As far as I can tell, it has never changed since the service was launched. While there’s no official documentation, I would guess that it refers to the ATOM specification namespace – http://www.w3.org/2005/Atom“

    Finally, the long number is the Tweet’s status ID. It will always be unique and can be used for the since_id.

    What you will need to do is split the string, and just use the number after the colon as your ID.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using this URL http://search.twitter.com/search.json to grab tweets with the hash tag #SameHashTag
I'm using the Twitter search api to search for a keyword so I can
I'm looking into using the Twitter tweet button API, found: here I have the
Are you allowed to locally store tweets obtained using the twitter api? http://apiwiki.twitter.com/Twitter-Search-API-Method%3A-search
I am using twitter search api https://dev.twitter.com/docs/using-search I want to search for a word
I am using jquery to build a request to the Twitter Search API. I
I am using twitter4j java library to make a twitter API search for given
I am using twitter4j library to access twitter api. I can sucessfully retrieve information
I'm producing HTML from twitter search results. Happily using the Net::Twitter module :-) One
Afternoon, I am using PHP Zend to search twitter API in order to find

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.