| Provider | |||
| Description | Twitter Twitter is a real-time information network that connects you to the latest information about what you find interesting. Simply find the public streams you find most compelling and follow the conversations. | ||
| APIs |
|
||
| Samples |
//This is as simple as it can get !
connection twitter {
operation init getMyTweets
GET 'http://twitter.com/statuses/user_timeline/metapgmr.xml' {
protocol HTTP;
} ;
}
//you need to define a mapping in order to reach the children of the
//user element
mapping twitterMapping {
{'id' : 'id'} ,
{ 'description' : 'text'} ,
{ 'pubDate' : 'created_at'},
{ 'handle' : 'user.name'}
}
|
||
| Related m|dsl elements | Layout, Connection, View |