Edwardfmo
Edwardfmo

Reputation: 77

Facebook canvas application most elegant way

I'm currently working on a Facebook canvas application. what I need is accessing user data like name, id, likes, events and friends.

As far as I know there are lot of ways to do this, facebook api, graph api, etc.

my platform is PHP, and i've already created an application on the developers site.

can you write me a short example of how to request permissions from the Facebook user, and how to access his or her data and friends list for example? All the other tutorials are about integration your site with facebook, or using old methods.

thanks in advance!

Upvotes: 0

Views: 721

Answers (1)

Nitzan Tomer
Nitzan Tomer

Reputation: 164287

There is just the Graph API, there's no other "facebook api". Though, you can also use FQL if you want/need.

Here's the tutorial about canvas applications: Apps on Facebook.com. There's a sdk for javascript and one for php that you can use.

As for the permissions and such: Authentication and Permissions.

Please read those tutorials/documentation and come back with a more specific question.

Upvotes: 1

Related Questions