Loading...
Logo
Processing Forum

Facebook OAuth

in General Discussion  •  Other  •  3 years ago  
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.


jorge

Replies(3)

Re: Facebook OAuth

2 years ago
Not sure if the link is still good.

When loading the page I get only this displayed on the page

Warning: Smarty error: unable to read resource: "404.tpl" in /mnt/r0101/d33/s12/b023dd93/www/blog/bundled-libs/Smarty/libs/Smarty.class.php on line 1092




I tried it in Firefox and Safari on a mac and got this.  Just wanted to give you a heads up about it.

Re: Facebook OAuth

2 years ago
Thanks for the heads up! 

Don't know what happened, but I try to figure out the problem and correct it.

Thanks,
jorge

Re: Facebook OAuth

2 years ago
Fixed! Thanks again.