We do this for you by including a string representation of integer IDs in the responses. For example id and id_str.
Best, @themattharris On Nov 4, 2010, at 16:58, Furkan Kuru <furkank...@gmail.com> wrote: > > I try to adapt my php code to convert snowflake ids to Long strings. > > I use > > $id = sprintf('%.0f', $tweet->{'id'}); > > the $id seems to be not correct because i can not reach the tweet with that > $id. > > Is there any simple way to convert snowflake id to Long string correctly? > > On Thu, Nov 4, 2010 at 10:51 PM, John Kalucki <j...@twitter.com> wrote: > > -- > 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 > > > > -- > Furkan Kuru > -- > 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