hybridauthprovider

PHP HybridAuth social signin not working at all. Redirecting to ?hauth.start=Facebook&hauth.time

大兔子大兔子 提交于 2019-12-20 09:48:32
问题 I was trying to make HybridAuth Social Login work on this simple php site. Downloaded HybridAuth and installed it. Then found that even the examples does not work for social login (tried on remote server too. The normal signin_signup example works fine. But whenever I click the link to login to a social network (i.e, facebook,twitter) it redirects me to (MY_BASE_URL/index.php?hauth.start=Facebook&hauth.time) without showing any login window/error messages at all. I've carefully read the

Hybrid auth with Yii causing a redirect loop

 ̄綄美尐妖づ 提交于 2019-12-18 08:55:21
问题 I am trying to implement twitter sign in on my website using hybridauth. I know there is a hybrid auth plugin for Yii. I am not using it because last time I used I ran into some problems. I am trying to implement the core version of hybrid auth. I am calling $hybridauth = new Hybrid_Auth( Yii::app()->params['hybridauth'] ); $adapter = $hybridauth->authenticate( 'Twitter'); But for some reason it redirects to http://localhost/yiiauth/authtest/?hauth.start=Twitter&hauth.time=1350973441 , which

Get Friends Location using Facebook Graph API & HybridAuth

左心房为你撑大大i 提交于 2019-12-09 07:01:36
问题 Problem I am trying to get friends_location from the Facebok Graph API. I am accessing the API using the HybridAuth framework. How do I return a friend's location/hometown etc? My App Permissions I have set the following permissions for my app: friends_about_me,friends_location,friends_hometown,user_location,email,user_birthday,offline_access,user_hometown This is the request for permission screen the user sees on Facebook: What I Have Tried I have tried the following methods to get the

HybridAuth / PHP Facebook SDK authentication failed (getUser returns 0)

好久不见. 提交于 2019-12-04 02:15:23
问题 I'm trying to configure HybridAuth and I'm in the very early stages. Right now all I want to do is connect and make sure HA will redirect to facebook and prompt for app installation, then authenticate the user when they get back. I'm manually calling the following from: http://mydomain.com/auth.php?provider=Facebook auth.php looks like this: session_start(); require_once($_SERVER['DOCUMENT_ROOT'] . "/func/db_connect.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/api/auth/Hybrid/Auth.php");

Get Friends Location using Facebook Graph API & HybridAuth

試著忘記壹切 提交于 2019-12-03 08:54:29
Problem I am trying to get friends_location from the Facebok Graph API. I am accessing the API using the HybridAuth framework. How do I return a friend's location/hometown etc? My App Permissions I have set the following permissions for my app: friends_about_me,friends_location,friends_hometown,user_location,email,user_birthday,offline_access,user_hometown This is the request for permission screen the user sees on Facebook: What I Have Tried I have tried the following methods to get the friend's details: HybridAuth: $hybrid->getUserContacts(); and Native API: $hybrid->api()->api('/me/friends')

HybridAuth / PHP Facebook SDK authentication failed (getUser returns 0)

我们两清 提交于 2019-12-01 13:28:12
I'm trying to configure HybridAuth and I'm in the very early stages. Right now all I want to do is connect and make sure HA will redirect to facebook and prompt for app installation, then authenticate the user when they get back. I'm manually calling the following from: http://mydomain.com/auth.php?provider=Facebook auth.php looks like this: session_start(); require_once($_SERVER['DOCUMENT_ROOT'] . "/func/db_connect.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/api/auth/Hybrid/Auth.php"); // HybridAuth Module $hybridauth_config = include($_SERVER['DOCUMENT_ROOT'] . '/api/auth/config.php');

Hybrid auth with Yii causing a redirect loop

纵饮孤独 提交于 2019-11-29 15:20:12
I am trying to implement twitter sign in on my website using hybridauth. I know there is a hybrid auth plugin for Yii. I am not using it because last time I used I ran into some problems. I am trying to implement the core version of hybrid auth. I am calling $hybridauth = new Hybrid_Auth( Yii::app()->params['hybridauth'] ); $adapter = $hybridauth->authenticate( 'Twitter'); But for some reason it redirects to http://localhost/yiiauth/authtest/?hauth.start=Twitter&hauth.time=1350973441 , which causes a redirect loop. Is there any way to solve this problem ? My hybrid auth configuration is as