Welcome Guest, Not a member yet? Register   Sign In
facebook integration problem
#1

[eluser]Bigil Michael[/eluser]
I am trying to integrate facebook log in on my site. Follows the steps from here
Code:
http://www.dannyherran.com/2011/02/facebook-php-sdk-and-codeigniter-for-basic-user-authentication/comment-page-1/#comments

It running fine before redirection. When try to redirect it shows an error

Code:
An Error Was Encountered

The URI you submitted has disallowed characters.
permitted uri charecters given below

Code:
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
can anyone help me to solve this problem???
#2

[eluser]Bigil Michael[/eluser]
bump.........
#3

[eluser]Bigil Michael[/eluser]
Now I changed my config like this.
Code:
$config['permitted_uri_chars'] = 'a-z 0-9?~%.:_\-';
$config['enable_query_strings'] = TRUE;
Now Error Removed.
but $fb_data['uid'] is 0. Abybody know why iam getting '0'.

thanks in advance
#4

[eluser]Unknown[/eluser]
but $fb_data[‘uid’] is 0. Abybody know why iam getting ‘0’
#5

[eluser]Bigil Michael[/eluser]
can anyone help me to solve this problem......
#6

[eluser]Jason Hamilton-Mascioli[/eluser]
Making this change should solve the issue...

Code:
$config['uri_protocol'] =
    (isset($_SERVER['HTTP_REFERER']) &&
     strpos($_SERVER['HTTP_REFERER'], 'apps.facebook.com') !== false) ?
         "PATH_INFO" : "REQUEST_URI";
#7

[eluser]Bigil Michael[/eluser]

Quote: $config['uri_protocol'] =
(isset($_SERVER['HTTP_REFERER']) &&
strpos($_SERVER['HTTP_REFERER'], 'apps.facebook.com') !== false) ?
"PATH_INFO" : "REQUEST_URI";
Applied this change. But the Result is same.

Now i am using php sdk version 3.1 can anyone send application libraries of php sdk version 2.2

can anyone help???. I am in Trouble
#8

[eluser]Bigil Michael[/eluser]
bump




Theme © iAndrew 2016 - Forum software by © MyBB