Hi everyone,
http://api.twitter.com/1/statuses/user_timeline.xml?screen_name=aamir_khan&count=10&page=1
SimpleXMLElement Object
(
[@attributes] => Array
(
[type] => array
)
[status] => Array
(
[0] => SimpleXMLElement Object
(
[created_at] => Mon Aug 16 11:10:50 +0000 2010
[id] => 21306383942
[text] => Whats the latest cricket score?
[source] => Twitter for Android
[truncated] => false
[favorited] => false
[in_reply_to_status_id] => SimpleXMLElement Object
(
)
[in_reply_to_user_id] => SimpleXMLElement Object
(
)
[in_reply_to_screen_name] => SimpleXMLElement
Object
(
)
[retweet_count] => 100+
[retweeted] => false
[user] => SimpleXMLElement Object
(
[id] => 88856792
[name] => Aamir Khan
[screen_name] => aamir_khan
[location] => Mumbai
[description] => Actor.
[profile_image_url] =>
http://a1.twimg.com/profile_images/1039448762/Photo_on_2010-06-30_at_22.30__2_normal.jpg
[url] => http://www.aamirkhan.com
[protected] => false
[followers_count] => 501359
[profile_background_color] => C0DEED
[profile_text_color] => 333333
[profile_link_color] => 0084B4
[profile_sidebar_fill_color] => DDEEF6
[profile_sidebar_border_color] => C0DEED
[friends_count] => 5
[created_at] => Tue Nov 10 05:08:56 +0000
2009
[favourites_count] => 0
[utc_offset] => 19800
[time_zone] => Mumbai
[profile_background_image_url] =>
http://a0.twimg.com/profile_background_images/120221159/twit-bg-new1.jpg
[profile_background_tile] => false
[profile_use_background_image] => true
[notifications] => false
[geo_enabled] => true
[verified] => true
[following] => false
[statuses_count] => 82
[lang] => en
[contributors_enabled] => false
[follow_request_sent] => false
[listed_count] => 6618
[show_all_inline_media] => false
[is_translator] => false
)
[geo] => SimpleXMLElement Object
(
)
[coordinates] => SimpleXMLElement Object
(
)
[place] => SimpleXMLElement Object
(
)
[contributors] => SimpleXMLElement Object
(
)
)
In this case :
SimpleXMLElement->status[0]->user[statuses_count] = 82
but sometimes this value is different but always the same, sometimes
the number is 164 I think.
Is this is bug?!
--
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