-
Hey Ahmed,
I’ve noticed on your profile, you have multiple social accounts linked all in one.
How do you do this?
As it says that you have your facebook, and twitter linked.
How does one do this? Would also like to know please 🙂
You just have to log with Facebook and Twitter (assuming you are using the same email adress on both)
If an account with the same mail is found in the database, informations are “merged”.
I have a different email address for my Google+ account and another for my Facebook account – is there no other way of linking them?
If you’re LOGGED IN ALREADY ( You can use the new social shortcode! [userpro_social_shortcode] ) This can allow user to login with another social account, if he’s already logged in he will have two LINKED social accounts.
How?
Say user is LOGGED in with Facebook already, and you show him this shortcode:
[userpro_social_connect] in his profile edit form. If he try to login with twitter, the code will check first if he is LOGGED IN
if (userpro_is_logged_in()) {
$this->update_twitter_id( get_current_user_id(), $user_info[‘id’] );
wp_redirect( $this->permalink() );
}If he’s logged in, his current USER ID is updated with twitter ID and he can connect automatically and he will be connected to two networks.
This is now possible with the new social shortcode which will appear IF LOGGED IN/ OR NOT
Great thanks Ahmed, that cleared a lot up for me, really smart implementation.
Tested and working great! 😀
You must be logged in to reply to this topic.