Custom PHP Code Social Login
-
Hello,
I am creating a custom PHP code in my site with the purpose to generate a specific message for each user. So let’s say my DB is like this:
—————————-
| User | Message |
—————————–
| ABC | Hi, DEF! |
| XYZ | Hellooo!! |
—————————–
I want it so that when user ABC logs in with his fb connect, the specific message is displayed (Hi, DEF!).By using your plugin, can you advise me on how to do this cross check? To do this, I will need to get the id/email + password of the logged in user and cross-check this with the information in the database to then extract the correct message. However, I do not know whether you store the id/email + password or if you do, how you store them. Can you please help me on this?
I know that in wp_users table you have the following fields:
– user_login
– user_pass
– user_nicename
– user_email
– user_url
– user_registered
– user_activation_key
– user_status
– display_name
May I know what do you fill for each of these fields when someone logs in with the FB connect?Thanks! Your prompt reply would be greatly appreciated.
Kind Regards,
Pascal Gekko
- The topic ‘Custom PHP Code Social Login’ is closed to new replies.