Atticus
Atticus

Reputation: 6720

Facebook Open Graph access without Facebook Connect

Is it possible to access public Facebook information, such as user's name, without using Facebook Connect?

I've been reading the docs on http://developers.facebook.com/docs/reference/javascript/ and they have mentioned "public" information and "private" information.

It is still unclear to me if any attempt to access the visitor's facebook information requires Facebook Fonnect first.

I'm assuming the user must go through the Facebook Connect process before any data may be accessed.

Upvotes: 0

Views: 803

Answers (2)

bkaid
bkaid

Reputation: 52073

You can access a users public information via the graph api without an access token if you know their user id or user name. For example these will return info:

The problem though is that without having an instant personalization deal signed with Facebook, you won't be able to tell who the current user until they authenticate with your application.

Upvotes: 1

codeandcloud
codeandcloud

Reputation: 55200

Yes and no. If you are a first timer accessing Facebook, then you have to go through FBConnect. And then if you have opted for extended permission offline_access your access token will never expire and you can use that token to access the facebook info without FBConnect

Upvotes: 1

Related Questions