Authorize and authenticate canvas app users with php-sdk and oauth
Egads...programming for Facebook these days is like going on a scavenger hunt. The info on FB is incomplete, their own code examples often don't work and you just w开发者_如何学Goant to go home and have a beer.
Before I completely lose my hair, can someone please point me to a working php-sdk code example that checks if a user a) is logged in b) has authorized the app (with extended permissions) and c) gives me an array with the permission they've authorized?
I did an app about a year or so ago and wow, it seems things have changed. I've Googled and Googled, but it seems like all the code I've found is old, incomplete or just plain wrong.
I've downloaded the latest php-sdk Thanks!
I like the tutorials on this site
http://thinkdiff.net/facebook/graph-api-iframe-base-facebook-application-development-php-sdk-3-0/
精彩评论