1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Urgent Iframe help

Discussion in 'FaceBook' started by uditbhansali, Jul 1, 2011.

  1. uditbhansali

    uditbhansali Regular Member

    Joined:
    Aug 16, 2010
    Messages:
    486
    Likes Received:
    283
    Occupation:
    Ask your mom
    I have created a flash fan page and I have the index.html file.
    But when I try to connect the iframe app to that link it shows me

    Forbidden
    You don't have permission to access / on this server.


    I don't know what's the problem.

    Can anyone help me. pls pls pls
     
  2. Grizzy

    Grizzy Senior Member

    Joined:
    Nov 11, 2008
    Messages:
    919
    Likes Received:
    999
    Facebook actually loads your page by doing a HTTP POST into an empty iframe, and your webserver doesn't allow for POST requests to a .html file.

    Change your index.html to index.php and you should be good to go.
     
    • Thanks Thanks x 1
  3. RootShellvb

    RootShellvb Junior Member

    Joined:
    Jan 29, 2009
    Messages:
    188
    Likes Received:
    211
    Occupation:
    CEO
    Location:
    Casablanca, Morocco
    Home Page:
    +1

    the Posted data by Facebook is signed_request, containing some details about the logged-in user, if the user is admin, or liked the page, and an access token to perform some API calls to FB servers.

    for more information about signed request, and how to use it :
    Code:
    http://developers.facebook.com/docs/authentication/signed_request/
     
  4. moneyrocks

    moneyrocks Supreme Member

    Joined:
    May 22, 2009
    Messages:
    1,205
    Likes Received:
    135
    thanks a lot for the info buddy i was looking for this same ans for few days now...