Client-side Integration with RESTful Services

Most social media sites have a public API for accessing their data. Twitter,1 LinkedIn,2 and Facebook3 integrations are very common on the Web and RESTful integrations are common access strategies for each of them. In this section, we are going to integrate jQuery Mobile with two different RESTful APIs so we can see how well this strategy runs within jQuery Mobile.

Client-side Twitter Integration with Ajax

In our first client-side example we are going to integrate jQuery Mobile with Twitter's RESTful API. Twitter is a very popular social media site which allows users to send out, or "tweet" brief messages about topics, events, or random opinions. In our movie app, it may be valuable to allow users ...

Get Pro jQuery Mobile now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.