Support Forums - Classified Ads Script Osclass

Osclass plugin support => Free Osclass Plugins => Facebook Login Plugin => Topic started by: firesale on July 12, 2018, 09:58:45 PM

Title: After Facebook Registration - No Data on Profile
Post by: firesale on July 12, 2018, 09:58:45 PM
After Facebook registration, the user is able to log in, post a listing etc. However their profile remains blank: they have no name, no profile picture, number after logging in. And if they post right after Facebook registration, the Listing appears to have been posted by some "Anonymous"

Is there a way for the name of a Facebook user as well as his/her profile picture be transferred in the OSClass profile upon connecting to the App? I've seen other apps do this.

Added plugin page says: user name and picture is stored in database

I guess I am missing something. Anyone?
Title: Re: After Facebook Registration - No Data on Profile
Post by: firesale on July 15, 2018, 07:46:55 PM
Bumping this post.

TLDR;

How to have the following information encoded in the user's profile upon Facebook registration:

1. Profile Picture
2. Name
3. Mobile Number

The only thing that is carried in to the site currently is Email.
Title: Re: After Facebook Registration - No Data on Profile
Post by: MB Themes on July 15, 2018, 11:21:03 PM
Name and image should be retrieved as well, these data are stored also in separate plugin table.
Title: Re: After Facebook Registration - No Data on Profile
Post by: firesale on July 16, 2018, 12:57:26 PM
Name and image should be retrieved as well, these data are stored also in separate plugin table.

What the name of the table? How do I debug that?
Title: Re: After Facebook Registration - No Data on Profile
Post by: MB Themes on July 16, 2018, 01:47:18 PM
@firesale
_t_user_facebook_login contains data from FB
Title: Re: After Facebook Registration - No Data on Profile
Post by: firesale on July 17, 2018, 12:51:43 PM
Name and image should be retrieved as well, these data are stored also in separate plugin table.



These are my app Approved Items. There is no explicit mention of Name and Profile Photo, could that be the reason? But supposedly Name and Profile Picture falls to Basic Permissions and therefore does not require special App Permissions. May I see your app Approved Items?

(http://i64.tinypic.com/wi5x1e.png)

Title: Re: After Facebook Registration - No Data on Profile
Post by: firesale on July 17, 2018, 01:05:09 PM
@firesale
_t_user_facebook_login contains data from FB

The db entries look fine. I wonder what am I missing.

(http://i66.tinypic.com/2uppr1t.png)
Title: Re: After Facebook Registration - No Data on Profile
Post by: MB Themes on July 17, 2018, 01:32:43 PM
@firesale
No idea, but it means plugin gets correct data
Title: Re: After Facebook Registration - No Data on Profile
Post by: firesale on July 18, 2018, 11:54:46 PM
@firesale
No idea, but it means plugin gets correct data

After FB authentication, data is saved on DB and then rendered into Profile by calling which functions?

I already reuploaded the plugin but nothing seems to work.
Title: Re: After Facebook Registration - No Data on Profile
Post by: MB Themes on July 19, 2018, 08:37:16 AM
@firesale
Data are stored using DAO. You can find more details in ModelFL.php file.