- This topic has 2 replies, 3 voices, and was last updated 8 years, 7 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › How to set the wp_emember cookie?
Hi,
I am struggling to integrate wp Emember with a facebook connect (through WordPress Social Login).
I see I need to set the wp_emember_ + cookiehash when logging in a user. I have searched the WP eMember code and found nowhere where this cookie is set.
Can you please guide me as to what function sets this cookie so that I reproduce this behavior in a facebook connect integration?
COOKIEHASH is explained here:
https://wordpress.org/support/topic/what-is-cookiehash
However, if you are trying to simply login a particular user ID, why not use the login_with_user_id() method from the Emember_Auth class, defined in the lib/class.emember_auth.php file?
Did you check the following documentation?
The process is mostly the same for any kind of facebook connect plugin.