Creating a separate twitter feed for all @-mentioned tweets
I am trying to create a feed on a site which displays all the tweets which are about me so say if some one s开发者_运维技巧ays @oli hello how are you?
I would like it to display separately from my twitter feed.
How do I achieve this?
5 seconds using google -> http://apiwiki.twitter.com/Libraries#PHP
Use the statuses/mentions method.
If needed, you could also use the search API, for example http://search.twitter.com/search.json?q=to%3Aoli
This would allow you to get results without authentication, but search's API has its own limitations. See http://apiwiki.twitter.com/Twitter-Search-API-Method%3A-search
精彩评论