> You can't make up a key and send it to Twitter to make Twitter use that as > a status ID. However, once you have a status ID back, then you can use that > as a key for your own purposes if you like.
Can I be sure the the status ID's returned by twitter will always be different? On Mar 8, 4:30 pm, Cameron Kaiser <[email protected]> wrote: > > So basically every time a document or article is created or updated on > > my web site I would create a twitter entry with the document or > > article title and the url. > > I will use, maybe, TinyUrl to make the url smaller ... Is this the > > better option or should I use other service instead of TinyUrl? > > You can use whichever service you think is reliable for your purposes. > Tinyurl is fine, but there are plenty of others. > > > Then on my web site I would set a page to display a message "Document > > removed" or "Article removed" every time the user follows a link in > > twitter for a document or article that was deleted on the web site. Is > > this what you mean? > > Yes. > > > What do you mean with "you cannot make up arbitrary status IDs as > > keys"? > > Isn't the status ID a key like in a database record? What should I do > > then? > > No, what I mean is, you said in your original message: > > > > > My idea was to send the same Document ID or Article ID when I create > > > > it in twitter. > > > > But as far as I know Twitter uses INT as id and I am not even sure if > > > > I can define ... > > You can't make up a key and send it to Twitter to make Twitter use that as > a status ID. However, once you have a status ID back, then you can use that > as a key for your own purposes if you like. > > > Twitter entries must be less than 140 characters? This means that my > > document/article title and url must be together less than 140 > > characters? > > Yes. > > -- > ------------------------------------ personal:http://www.cameronkaiser.com/-- > Cameron Kaiser * Floodgap Systems *www.floodgap.com* [email protected] > -- Silly is a state of mind, stupid is a way of life. -- Dave Butler > ----------
