Is it possible to use the facebook connect api to just grab some information and use it with a customized form?
Because facebook register api shows a pre-filled form, how to get these data and use them with another form
Thanks
Is it possible to use the facebook connect api to just grab some information
Share
You should use the Facebook PHP SDK (see on github). Here is how you would do that.
Here, if
$useris not null, the user is logged in and you have his personal data in the array$user_profile.Here is an example of the form you can generate pre-filled with some Facebook data :
See the example of the Facebook PHP SDK for more detail on the flow.