Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8207951
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T09:10:21+00:00 2026-06-07T09:10:21+00:00

I am new in facebook application,i am try to change code from fbml to

  • 0

I am new in facebook application,i am try to change code from fbml to graph api but graph api redirecting not working, it shows 404 page not found.My canvas type is FBML.How can I change canvas type FBML to iframe.
My code is,

<?php function index()
        {
        $facebook = new Facebook(array(
                    'appId'  => '1670025435555',
                    'secret' => '682018907e58d7208d9b663d9073op09',
                    'cookie' => true,
                    ));

                     $session = $facebook->getSession();
                     $app_id = "1670025435555";     
                     $canvas_page = "http://apps.facebook.com/englishlanguageclub/";
     $auth_url = "http://www.facebook.com/dialog/oauth?client_id=". $app_id . "&redirect_uri=" . urlencode($canvas_page)."&scope=user_about_me,user_hometown,email,read_requests,read_stream,publish_stream,user_birthday,sms";
         if(isset($_REQUEST["signed_request"]))
         {
             $signed_request = $_REQUEST["signed_request"];
             list($encoded_sig, $payload) = explode('.', $signed_request, 2); 
             $data = json_decode(base64_decode(strtr($payload, '-_', '+/')), true);
         }
        if (empty($data["user_id"]))
         {  
          echo("<script type='text/javascript'> top.location.href='" . $auth_url . "'</script>");

        }
      else 
      {
         $uid = $data["user_id"];
      } 
}
?>

Anyone please help me…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T09:10:23+00:00Added an answer on June 7, 2026 at 9:10 am

    You have to change the canvas type from the Facebook app settings. You need to login in developer.facebook.com and then go to your App and then Edit the settings.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I try to fetch user's feeds via graph api from my Android application. It
how to develop new facebook application (login , add photos ) using the api
I am working on facebook application. I am getting the offline access permission from
I'm trying to setup a new facebook app using the example from Facebook but
Today I created new application on facebook for my site, but it's giving me
I'm currently working on a facebook page tab application, but I've encountered a problem
I'm getting started with the facebook API. I downloaded the example code from facebook,
I'm new to the Facebook application world and web hosting stuff. I tested my
I'm currently building a Facebook Application for a client using the new timeline layout
I have the following code: $facebook = new Facebook(array( 'appId' => ID, 'secret' =>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.