Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Facebook Connect Logon View modes: 
User avatar
Member
Member
f.sacchi-netribegroup - 2/19/2013 7:42:25 AM
   
Facebook Connect Logon
Hi,

When using the Facebook Connect Logon webpart, a new user gets created in the Kentico database with a full name like Facebook ID - <id>.

How does one get data like first name, last name , username from Facebook?

Thanks
Federica

User avatar
Certified Developer 12
Certified Developer 12
yasser - 2/19/2013 8:21:06 AM
   
RE:Facebook Connect Logon
Hi Fedrica,
You could create a copy of the existing Facebook Connect Logon web part and modify it to fetch the user's username and full name using the Facebook Graph API. Once you have the information, you can update the user profile with the details.

Creating a copy of the web-part is recommended over modifying the existing web-part as otherwise your changes may be over-written when you apply hot fixes or upgrade.

Hope this answers your question.


Yasser Abbasi from MMT Digital's K-Team
Kentico Certified Developer

User avatar
Certified Developer 13
Certified Developer 13
kentico_josefd - 2/20/2013 4:01:58 AM
   
RE:Facebook Connect Logon
Hello,

Yasser is correct. Our standard Facebook Connect Logon web part does not fetch any additional data from the Facebook API, you will need to customize it to achieve such behavior.

However, if you do not need to use information directly from Facebook, you can make use of our Required Information web part and let the users fill out the additional information themselves.

Regards,
Josef Dvorak

User avatar
Member
Member
f.sacchi-netribegroup - 2/21/2013 3:31:45 AM
   
RE:Facebook Connect Logon
Thanks for the suggestion.
I have created my Facebook Connect Logon web part integrated with Facebook Graph API.
It works!

Best regards,
Federica