Java Reference
In-Depth Information
CAAEQ89v2Cz8BAEifGHPKiaTDZCGZAf1Uf5NaODOFKrC8kL1C5iYBsY4LLCmh6J8sGTuWCMdCOP
faba9CEhJMweXofNMUp8W9skDOXGAZAimENwY3ZAebfEWx89ZAaxNCLL2PDi25X5mbUWoxD6dEiA
9fxu16iZB7EVKj4vT4uoRaV4x4tofrgUWvulVZBnsgMYZD
App access token: 300114530143039|lhvmPn7r6HbmN4dj3LgAFgoisIk
Status of token verification:
{"data":{"app_id":"300114530143039","is_valid":true,"application":
"SeppeJavaClient","user_id":"507162275","expires_at":1398038400,
"scopes":["public_profile","basic_info","user_friends"]}}
Here's some information about the user:
{"id":"507162275",** ALL KINDS OF INFORMATION **}
figure 10-26  
8.
This exercise is meant to give you a taste of what's possible with Java and Facebook. Note that,
just like for Twitter, there exists a Facebook4J library ( http://facebook4j.org/ ) that makes
this whole process a lot easier. Take a look if you want to invest more time in developing Java
applications that interact with Facebook.
screen scraping
The last type of web service this chapter is going to discuss is not really a web service at all, but
involves a technique called “screen scraping,” used when you really, absolutely want to get some
information out of a website, or when a website just didn't bother to provide a structured service
based on SOAP or REST.
 
Search WWH ::




Custom Search