I have a Premium SEO Pack – Wordpress Plugin installed and with its Facebook planner, we are supposed to authorize app after providing the initial settings. I have provided all the settings correctly. Provided app id, app secret, app domain, site url (through add platform), settings->advanced->enabled browser OAuth login, provided Valid OAuth redirect URI http://example.org/psp_seo_fb_oauth . But still I get the "**Given URL is not allowed by the Application configuration: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain …

Member Avatar
Member Avatar
+0 forum 2

Hi i get all information what i need but i dont know how to get facebook profile image and save to file and in mysql save path. Here is my code for call fb api : <?php session_start(); include_once("config.php"); // facebook id include_once("includes/functions.php"); //destroy facebook session if user clicks reset if(!$fbuser){ $fbuser = null; $loginUrl = $facebook->getLoginUrl(array('redirect_uri'=>$homeurl,'scope'=>$fbPermissions)); echo '<a href="'.$loginUrl.'"><img src="images/fb_login.png"></a>'; }else{ $user_profile = $facebook->api('/me?fields=id,first_name,last_name,email,gender'); $user = new Users(); $user_data = $user->checkUser('facebook',$user_profile['id'],$user_profile['first_name'],$user_profile['last_name'],$user_profile['email'],$user_profile['gender']); if(!empty($user_data)){ $_SESSION['userdata'] = $user_data; header("Location:account.php"); }else{ die('Some problem occurred, please try again.'); } } ?>

Member Avatar
Member Avatar
+0 forum 1

I want to do a redirection where a user enters their user name in the URL and redirects to their profile, like this: example.com/joe redirects example.com/profile.php?username=joe I want to do it like Facebook does

Member Avatar
Member Avatar
+0 forum 14

Hi, i need a quick help to configure a Facebook app when i go to the Facebook address it is this in the screenshot a gray page everythig seems right but the game is not shown i’ve added this code to the index.php with the right ids but nothing if someone can help me i'll send my Facebook credentials let me know if you could help me to configure it, i’ll pay for the disturb thank you <?php require 'src/facebook.php'; $app_id = 'APP_ID'; $app_secret = 'APP_SECRET'; $app_namespace = 'APP_NAMESPACE'; $app_url = 'https://apps.facebook.com/' . $app_namespace . '/'; $scope = 'email,publish_actions'; // …

Member Avatar
Member Avatar
+0 forum 1

I am making a cms for a booking app and the admin will be able to see the number of bookings at any moment. How can I do it so that the above updates continuously with ajax...like facebook newsfeed for example. So far the only ajax I have made is based upon clicking events...but this is something different I think.

Member Avatar
Member Avatar
+0 forum 1

I'd like to know if there is a simple way of retrieving the Cover photo from a user in my application, via the facebook php sdk. I managed to retrive the cover photo id of the album of the cover photo album, but my solution only works partially.(As you can see, it's not efficient, and If more albums will be added, and moved to other pages, thus this will not work). [CODE] $albums = $facebook->api('/me/albums','GET'); for($i = 0;$i<count($albums['data']);$i++){ for($j = 0;$j<count($albums['data'][$i]);$j++){ if($albums['data'][$i]['name'] == "Cover Photos"){ echo $facebook->api('/me/albums/'.$albums['data'][$i]['cover_photo'],'GET'); } } }[/CODE] Thanks in advance.

Member Avatar
+0 forum 0

The End.