GET MY TWEETS

Twitter: Click me | Email: Click me | Google+: Click me | My Blog: Click me | LinkedIn: Click me

What different things do..

This API is very new, so I am still developing and improving the API. This is why it is important to either link to the javascript or follow us on twitter @gmtweetsuk to stay informed about updates and patches.

Anyway, I will explain what each parameter does, and what paramaters are currently available..


API Version 3 (current, stable)

            <script src="http://api.getmytweets.co.uk/min.tweet.3.js"></script>
        

API Version 2 (old, stable)

            <script src="http://api.getmytweets.co.uk/min.tweet.2.js"></script>
        


twitter_sn string
default: false
your twitter username

            twitter_sn: 'gmtweetsuk',
        

twitter_hashtag string
default: false
search for all tweets which include the hashtag, if this is used, twitter_sn will be ignored.
WARNING: you must exclude the #, i.e if you want to return results for #gmtweets, you use gmtweets

            twitter_hashtag: 'gmtweets',
        

twitter_limit integer or string
default: 1
the amount of resuts to return

            twitter_hashtag: 1,
        

twitter_nocache Boolean
default: false
This will not cache your feed, it is recommended to not do this, as if anything happens and the tiwtter feed is unavailable you will not get a cached version returned.
WARNING: this option will be ignored if the system is detecting high usage from your twitter_sn

            twitter_nocache: true,
        

twitter_pp Boolean VERSION 3 ONLY
default: false
If set to true, this will display your twitter profile picture inside a div with the class of "gmt_pp"

            twitter_pp: true,
        

twitter_stats Boolean VERSION 3 ONLY
default: false
If set to true, this will display your twitter stats, like followers, following and tweet count, inside ul with the class of "gmt_stats"

            twitter_stats: true,
        

Output Example:
            <ul class="gmt_stats">
                <li class="gmt_stat gmt_followers"><strong>followers</strong>15854</li>
                <li class="gmt_stat gmt_friends"><strong>following</strong>65</li>
                <li class="gmt_stat gmt_statuses"><strong>tweets</strong>41</li>
            </ul>
        

twitter_details Boolean VERSION 3 ONLY
default: false
If set to true, this will display your twitter profile details, as follows: twitter name inside a div with the class of "gmt_name", location inside a div with the class of "gmt_location" and description inside a div with the class of "gmt_description"

            twitter_details: true,
        


Want a new feature?

Great! I really want to make this API as useful as possible, so please contact me on twitter @gmtweetsuk and let me know what you want to see.