Maybe a 1000 times asked question but I could not find and sophisticated answer.
I have a PHP/MySQL user login system (session based) with a own users database. The structure features some user data like age, about me etc.
I can do this all in the means of programming, no problem, however – I have some “concept” issues that I hoped someone could advise me at:
- Let’s say that my user database features some field that FB does not cover. Should I ask for them let’s say when the user first logs in with FB?
- Better to take the profile PIC and save it locally or read it from remote server?
- Better to save the FB data (like name, about me etc.) locally or read it from remote server all the time?
It would be rather nice to allow user to add them later or prompt them that their few information can be updated
Depends, if you want to display the profile pic of the user to reflect his present state then use the profile image link and if you have the space to store all the image of the users then it is better to go with the local storage, although it might not be updated, but you can add selection option to upload new.
Now for this I would suggest that you make the copy of the information you have retrieved locally, for the purpose of speed, cause getting the values back again and again takes toll on the page speed and hence the user experience.