web stats analysis

Facebook Archive

How to redirect to index.php after “login in using facebook connect”?

How to forward a website to another url?

Redirect to another web page using PHP.

Facebook redirect url to index.php

I try and get simple solution is bellow:

Answer:1

You could try into below config.php file.


$config['allow_get_array'] = TRUE;

$config['enable_query_strings'] = FALSE;

This is my controller and its work properly for me.


$myurl = "http://mysite.com/index.php";

redirect($this->facebook->getLoginUrl(array('scope' => 'email', 'redirect_uri' => $myurl)));
Answer:2
If users facebook connect first time then after if it redirects to member.php then follow below:

Change the default redirect URL.
Open modules\boonex\facebook_connect\classes\BxFaceBookConnectConfig.php
Look for this line.
$this -> sDefaultRedirectUrl = BX_DOL_URL_ROOT . ‘member.php’;
Change in to this.
$this -> sDefaultRedirectUrl = BX_DOL_URL_ROOT . ‘index.php’;

How to get my Facebook User ID?

Get my Facebook User ID.

Easy way to get my Facebook User ID.

Solution is like a below:

If you want to find your facebook userID,
So,Easier and better way to find your own user ID,
it just follow the two steps bellow:
Step:1-you are already logged in in Facebook.
Step:2-Go to this page https://developers.facebook.com/tools/explorer/
Step:3-It’s get request to facebook using your ID.
Step:4-it will be show in a gray box and the information will be something like below.


{

“id”: “YOURIDNUMBER”,

“name”: “YOUR FULL NAME”,

“first_name”: “FIRST NAME”,

“last_name”: “LAST NAME”,

“link”: “https://www.facebook.com/YOURLINK”,

“username”: “USERNAME”,

“gender”: “male”,

“locale”: “pt_BR”,

“type”: “user”

}
After you get your USER ID from the link above just insert it in the field “Admin ID” of the
SEO Facebook Comments plugin.

Everything should work just fine more deatil Click here.

What is MY APP ID ON FACEBOOK,Facebook User Id
What Is My Facebook User Id ,Create a facebook id,