Topic-icon JFBConnect Facebook First_Name, Last_Name, Email to RSForm Pro Fields

Active Subscriptions:

None
Is there a way I can place the above mentioned data into RsJoomla - RSForm Pro Text Fields? Any Tips?
Last edit: 4 years 11 months ago by [email protected].
The topic has been locked.
Active Subscriptions:

None
I formulated the answer. Here it is. This Code need to be placed in Each Field's Default Value to call the specific Data:

//<code>
$jfbcLibrary = JFBCFactory::provider('facebook');
$json = $jfbcLibrary->api('/me/?fields=first_name,last_name,email');

$email = $json;
return $email;
//</code>
The topic has been locked.
Support Specialist
I'm sorry for the delayed response in getting back to you! Yes, the above is the proper way to call the Facebook API to get user information. I'm glad you got it going, but if you need anything else, please let us know and we'll gladly help however we can.

Thanks,
Alex
The topic has been locked.