Hi,
Just wanted to let you know about a Facebook OAuth class I made to get the access token for subsequent Graph API calls on Facebook.
Basically, it requests the Facebook OAuth authorization screen and displays it in a WebBrowser component window that pops up (the screen is not rendered in the Processing window - the LoboBrowser component is used (see: http://lobobrowser.org/browser/api-info.jsp )), and then intercepts the redirect issued by screen when the user authenticates.
The redirect URL contains the Access Token necessary to use the Graph API.
Just wanted to let you know about a Facebook OAuth class I made to get the access token for subsequent Graph API calls on Facebook.
Basically, it requests the Facebook OAuth authorization screen and displays it in a WebBrowser component window that pops up (the screen is not rendered in the Processing window - the LoboBrowser component is used (see: http://lobobrowser.org/browser/api-info.jsp )), and then intercepts the redirect issued by screen when the user authenticates.
The redirect URL contains the Access Token necessary to use the Graph API.
The code can be found here:
http://jorgecardoso.eu/blog/index.php?/archives/171-Facebook-OAuth-class-for-Processing.html
jorge