Amit Dhamu

Software Engineer

Twitter Timeline API Results

To grab your latest tweets using Twitters timeline API:

$api_url = "http://api.twitter.com/1/statuses/user_timeline.json?screen_name=screen_name";

// Outputs
Array
(
    [0] => stdClass Object
        (
            [id_str] =>
            [geo] =>
            [retweet_count] => 0
            [in_reply_to_screen_name] =>
            [in_reply_to_user_id] =>
            [coordinates] =>
            [retweeted] =>
            [in_reply_to_status_id_str] =>
            [created_at] => Fri Sep 30 12:17:29 +0000 2011
            [place] =>
            [in_reply_to_status_id] =>
            [in_reply_to_user_id_str] =>
            [user] => stdClass Object
                (
                    [id_str] =>
                    [profile_link_color] =>
                    [followers_count] =>
                    [protected] =>
                    [profile_image_url_https] =>
                    [name] => Amit Dhamu
                    [profile_background_color] =>
                    [listed_count] => 0
                    [lang] => en
                    [profile_background_tile] =>
                    [utc_offset] => 0
                    [created_at] => Mon Sep 28 11:03:02 +0000 2009
                    [description] =>
                    [show_all_inline_media] =>
                    [contributors_enabled] =>
                    [favourites_count] => 0
                    [profile_sidebar_fill_color] =>
                    [notifications] =>
                    [time_zone] => London
                    [profile_sidebar_border_color] =>
                    [default_profile_image] =>
                    [verified] =>
                    [profile_image_url] =>
                    [statuses_count] =>
                    [following] =>
                    [geo_enabled] =>
                    [profile_use_background_image] =>
                    [location] =>
                    [screen_name] =>
                    [is_translator] =>
                    [default_profile] =>
                    [profile_background_image_url_https] =>
                    [profile_text_color] =>
                    [id] =>
                    [follow_request_sent] =>
                    [profile_background_image_url] =>
                    [friends_count] =>
                    [url] => http://www.amitd.co
                )

            [contributors] =>
            [truncated] =>
            [source] => web
            [favorited] =>
            [id] => 1.1974769229235E+17
            [text] => YOUR TWEET APPEARS HERE
        )
)

 twitter api / user timeline / php

Time Ago Function Favicons

Show Comments

Made with by Amit Dhamu.
© MMXX. All rights reserved.