What is Facebook Web Games URL - facebook

What is Facebook Web Games URL in developers.facebook.com -> settings-> Basic-> Facebook Web Games-> Facebook Web Games URL (https) ?
Why do I need it?
Why I must use only https?

What is Facebook Web Games URL?
It is the URL of the place where you host your game. htts://www.yourdomain.com/yourgame.
Why do I need it?
Because that is what Facebook shows in an iframe on apps.facebook.com/yournamespace
Why I must use only https?
Because browsers usually don´t show iframe content with http in a parent page that runs with https - apps.facebook.com runs with https.
If you don´t know what it´s for, you can actually just ignore it ;)

Related

Facebook login manual flow with customized redirect url

As the facebook dev doc states:
I must use https://www.facebook.com/connect/login_success.html# as the redirect url if i am using the api in a desktop app webview. I am wondering why this is the case ? Is there a sercurity issue ? It seems much more developer friendly to allow us using a customized redirect url just like in browsers.

Facebook Requests into a Facebook Page Application

Does anyone know if Facebook Requests can be made to redirect into a Facebook Page app rather than into the Canvas app?
No, it will not redirect to any just url you give it. You should have them redirect from the Canvas app to the Facebook Page. Although that will be ugly/poor user experience. That's your only option.

Facebook users which have their save surfing account setting to unsecured cannot visit a secured Facebook App

If you have the Save Surfing setting in your account settings in Facebook set to unsecured, you notice you use Facebook via HTTP. Of course if you set it to On, you surf via HTTPS.
Now all Facebook apps are using HTTPS since Facebook doesn't allow apps to use HTTP since October 2011. But if a user (with no HTTPS on their Facebook account) wants to visit the Secured HTTPS App it just gives an empty page.
Is this a bug from Facebook, or?
Now all Facebook apps are using HTTPS since Facebook doesnt allow apps to use HTTP since October 2011.
That’s not true.
All canvas/page tab apps must offer the option to be accessed via HTTPS – but should offer HTTP as well.
But if a user (with no HTTPS on there Facebook account) wants to visit the Secured HTTPS App it just gives an empty page. Is this a bug from Facebook, or?
No, this is an error on your (resp. the app developers) part – in the app settings, there should be URLs set for both HTTP and HTTPS.
If that’s the case, then a user browsing Facebook via HTTP has no problem accessing the app as well.

Facebook page-tab app - doesnt send 'signed_request' to canvas url, but works okay with secure canvas url

I have a Facebook Page-Tab App. I've specified both Canvas URL and Secure Canvas URL from the app settings page.
If the user is logged in on facebook on https, the iframe loads the right secure canvas and everything works fine.
If the user is logged in on facebook on http, the iframe loads the non secure canvas but it is not passing the signed_request parameter. I need it to detect if the user liked the page or not.
I looked around and I found similar problems but not really solutions. Any Hints?
Thanks

Enforce login into Facebook Canvas IFrame App

I'm building a Facebook Canvas IFrame application. The application should always have the session_key (fb_sig_session_key) parameter available. Do I need to force the user to login and "add the application"?
I am not using any libraries and am directly working with Facebook's REST web service. I believe all I need to do is redirect the user to a URL just like I am doing when requesting for extra permissions. Can anybody help me on this?
Thanks,
Sri
I found out that it was the same URL as that for authorization.