views:

78

answers:

3

Hello All,

I have a website where i want to get visitor's facebook info (if any) like his name, country, etc and insert into database. I am just looking for a simple way to get his fb info and insert into database, no redirection like facebook connect. Any clues?

Thanks in advance :)

A: 

If you're not using facebook connect, you need to somehow get his Facebook ID and get his information from that.

Faruz
A: 

You can't.

There is no way for you to get that information except if you know his Facebook ID.

schmrz
+2  A: 

Even if you could technically accomplish this -- and a few solutions come to mind, all involving some variation of screen-scraping -- you would be violating the Facebook terms of service and US privacy law.

You can accomplish this with Facebook Connect, and it does not require redirection to Facebook. It's just a simple pop-up window where the user enters their Facebook username/password. It's very easy, very elegant, and has the advantage of not landing you in prison. :-)

Portman

related questions