-1

How to use the REST API of twitter last version with sencha touch 2.x ?

1 Answers1

0

To make requests for some remote api you can use Ext.Ajax.request();

Ext.Ajax.request({  
    url: 'https://api.twitter.com/1.1/statuses/show.json',
    method: 'GET',
    params: {
        id: 'someId'
    },
    success: function ( repsonse ) {

    },
    failure: function ( response ) {

    }
});

But be aware of Same-origin policy.

Martin
  • 852
  • 7
  • 20