Facebook Share Error

0 favourites
  • 7 posts
From the Asset Store
Use this game pack to create your own game, modify the existing game or simply take a look and see how it was made.
  • Hi Constructors,

    I tried adding a Share button on my sample game and I got this error.

    https://dl.dropboxusercontent.com/u/104449819/Error.png

    The html game is hosted outside Facebook. How to fix this error?

    How to make game and host it within Facebook?

    Thanks,

    Morex

  • See the answer by disco on this stackoverflow page for how to configure your app settings to fix that error: Canvas URL / Secure Canvas URL error message

    You need to host the game outside of Facebook (on your own website), Facebook won't host it for you. It just puts it in an iframe for you.

  • Hi russpuppy,

    Thank you for the information.

    I tried to that approach but I got this error below.

    Method Not Allowed

    The requested method GET is not allowed for the URL /c2/facebook/index.html.

    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

    Any advice.

    Morex

  • Make sure at the least, you set the website domain(www.mydomain.com) in app settings as well as the physical link to the uploaded program(www.mydomain.com/myapp) Note: If I recall correctly you need to add a "?" to the secure link(www.mydomain.com/myapp/?

    Once the above has been done you will be able to access the program yourself as the author(or anyone you setup in the app settings) until you turn off sandbox mode(again in app settings) Sandbox mode prevents anyone not a developer of your app from viewing your app(but this isn't your current issue. Just mentioned for the sake of thoroughness)

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Also for anything more then a like button you will need to use the standard Facebook plugin or one of the third party plugins under the Plugins section of the forum.

  • Thanks lanceal. I will give it a try.

  • Hi Guys!

    Has anyone had any problems connecting to Facebook as of this date?

    I hosted the C2 Fb template and went through the Fb app procedure but I can't login.

    I get this error:

    <img src="https://dl.dropboxusercontent.com/u/20299415/pictures/fb-social-login-dont-work.png" border="0" />

    I don't even get this error response when I use the 'Prompt to share' action.

    I was successful 2 weeks ago but now the game I made does not want to connect to Fb.

    :(

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)