Try the Demo

Magento Forum

   
Facebook connect session
 
indiacircus
Jr. Member
 
Total Posts:  10
Joined:  2012-01-29
 

Hi,

I am using Belvg facebook connect for facebook login, Now i am developing other module where i want to use the facebook user session in that module how can i check whether user is logged in using facebook account. if user logged in with facebook account i would like to fetch his friends list. Kindly provide me some suggestions on this.

Thanks
Subodh

 
Magento Community Magento Community
Magento Community
Magento Community
 
Cameron_iWeb
Member
 
Avatar
Total Posts:  62
Joined:  2012-03-22
 

Hi

Firstly you will need to get the permissions to do that when the allow the app to login with Facebook

https://developers.facebook.com/docs/authentication/permissions/

By I dont think you will be able to get the friends list.

You should be able to use the Magento Session to check if logged in, and you as far as I believe the Belg plugin also stores the connect data in the database (prefixed with belg) with you would need to add inside the query.

I am looking for a snippet of code that we used to complete this which may help you get the solution.

Thanks

Cameron

 Signature 

iWeb

01785 279920 or send an

Magento Developer

Magento Agency | Magento Designer | Magento Web Developers

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top