JFBConnect Facebook First_Name, Last_Name, Email to RSForm Pro Fields

JFBConnect Facebook First_Name, Last_Name, Email to RSForm Pro Fields

Is there a way I can place the above mentioned data into RsJoomla - RSForm Pro Text Fields? Any Tips?

Edited by: [email protected] - May-16-19 12:54:39
Administrator has disabled public posting. Please login or register in order to proceed.

Re: JFBConnect Facebook First_Name, Last_Name, Email to RSForm Pro Fields

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['email'];
return $email;
//</code>

Administrator has disabled public posting. Please login or register in order to proceed.

Re: JFBConnect Facebook First_Name, Last_Name, Email to RSForm Pro Fields

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

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24339 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11787
Total Polls:
0
Total Posts:
49520
Posts today:
1
User Info
 
Total Users:
48182
Newest User:
anjliv
Members Online:
4
Guests Online:
1182

Social Stream
Hide, Seek & Defuse

Handheld Electronic Game

Alex from SourceCoast is working on a new electronic game called Countdown. It's a timed game of Hide & Seek with mini-games (Whack-a-Mole, Simon, etc) to complete when you find it.

Learn more, join the beta list and get major discounts on our Indiegogo campaign.

Learn More About Countdown