Open pknazqul opened 10 years ago
Could you please give more details? Where you want to place this hook? Why you need it? Have you checked the existent hooks like 'social_connect_before_register_facebook' and 'social_connect_login'?
Hello Rodrigo,
I can use 'social_connect_before_register_facebook' for save in cookie facebook access token.
Thank you for help.
Hello Rodrigo,
Unfortunatelly social_connect_before_register_facebook don't provide me access_token for Facebook. I mean when I try use Facebook SDK for get additional info(for example friends list) I see error. I need next value: $_REQUEST[ 'social_connect_access_token' ] from next code in social-connect.php social_connect_verify_signature( $_REQUEST[ 'social_connect_access_token' ], $sc_provided_signature, $redirect_to );
Give me know if you need more information.
Thanks.
Please add new hook: do_action( 'social_connect_after_login', $user_id, $social_connect_provider, $social_access ); where: $user_id - user id in wordpress; $social_connect_provider - facebook, twitter and etc. $social_access: social_connect_access_token - facebook; social_connect_twitter_identity - twitter; social_connect_openid_identity - google social_connect_openid_identity - yahoo social_connect_openid_identity - wordpress
Thanks.