fbpx

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
24451 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:
11869
Total Polls:
0
Total Posts:
49771
Posts this week:
8
User Info
 
Total Users:
48493
Newest User:
[email protected]
Members Online:
0
Guests Online:
1322

Online: 
There are no members online
Social Stream
Hide, Seek & Defuse

Handheld Electronic Game

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

Hide and Seek Toys

Before You Leave

Let us send you a 10% off coupon

For Your Next Purchase

Please enable the javascript to submit this form

No , I don't want a discount