Questions tagged [facebook-canvas]

Facebook Canvas is the application environment for 3rd party Games & Applications that live within Facebook, in a framed environment. Page displayed can be fetched from other websites.

Facebook Canvas is the application environment for 3rd party Games & Applications that live within Facebook, in a framed environment. Page displayed can be fetched from other websites.

Facebook Canvas Application Development documentation

390 questions
4
votes
1 answer

Facebook getLoginUrl for canvas

I have a canvas app in facebook, and I'm using the code: $loginUrl = $facebook->getLoginUrl( array( 'canvas' => 1, 'fbconnect' => 0, 'scope' => 'email,publish_stream,offline_access' )); However all the time when a user clicks…
rickyduck
  • 4,030
  • 14
  • 58
  • 93
4
votes
2 answers

Position:fixed in facebook canvas (iframe)

We would like to have an anchor DOM element with position:fixed in our facebook canvas app with a fluid canvas size. Because the app runs in the canvas iframe a simple usage of css position:fixed does not work: The iframe content does not see any…
Nils Blum-Oeste
  • 5,608
  • 4
  • 25
  • 26
4
votes
0 answers

Django CSRF protection in Facebook Tab or Canvas App

Django's CSRF protection sets a cookie with the token on response and compares that to the token that is POSTed by the form. It appears in my Facebook Tab app that the csrf cookie is never being set in Safari. I know this has to with Safari's third…
4
votes
3 answers

How to get user access_token if I have his/her oauth_token?

When user opens my canvas app I get a signed_request from Facebook, from which I derive the user_id and oauth_token. How can I then get the access_token and check/get user permissions and other data?
AndrewShmig
  • 4,843
  • 6
  • 39
  • 68
4
votes
3 answers

Which Platform of Unity is best for Facebook Canvas App

I want to deploy my Unity3D game on Facebook as canvas App. There are two platforms in unity version 5: WebPlayer WebGL (Preview) I have no idea about both of these builds. I am using Parse to store my user data. And Facebook Unity SDK for social…
4
votes
0 answers

How to store data in facebook canvas game build in unity webgl player

My game is working properly on facebook canvas, which I am building from unity in webgl player, but I am not getting any way to store my game data anywhere. Using "Playerprefs" works, but it works only in current game session, when I reload the…
4
votes
1 answer

facebook app request notification not showing up in Facebook iOS app for mobile web app

I have a Facebook app that is configured as Facebook canvas app and a website with site and mobile site URLs When the app sends apprequests (invitations) they only show up in the recipient's notifications in the desktop browser and not in the…
4
votes
2 answers

In facebook canvas app where do I send the signed request parameter once I've captured it in log in

I'm using the javascript sdk. In the documentation it says that you get the signed request from the response object that FB.getLoginStatus() returns when the users status = connected, but now I need to parse the signed request. How do I send it to…
Spilot
  • 1,495
  • 8
  • 29
  • 55
4
votes
1 answer

What are the minimum requirements to get Facebook usage stories?

Facebook has a feature that has a few different names: "usage stories," "playing stories," "discovery stories," and "social discovery." The idea is simple: when somebody starts using your FB app, FB automatically posts a "usage story" to the ticker,…
Dan Fabulich
  • 37,506
  • 41
  • 139
  • 175
4
votes
1 answer

getLoginStatus not firing with calling from FB canvas

Attempting a client site authorization, and attempting to run within a canvas. If I access the my website directly http://mysite.com/ everything works. If I try to run via canvas https://apps.facebook.com/myapp it runs but getLoginStatus does not…
4
votes
2 answers

Facebook Canvas App Loading Partially

I have a single page FB Canvas app that is calling through the iframe a page I have hosted on Heroku. Loading the page directly through my heroku link works no problem. However, when I try to load the page through the canvas app, it sometimes only…
super9
  • 29,181
  • 39
  • 119
  • 172
4
votes
1 answer

Facebook Deauthorize Callback over HTTPS

I've implemented a Deauthorize Callback for my canvas app. It would appear that Facebook is unable to ping the Deauthorize Callback over https, but it has no problem with http. I'm logging all connections and there is no record of pinging the…
CasaDeRobison
  • 377
  • 2
  • 12
4
votes
2 answers

rediect facebook app on canvas to mobile web app for mobile users

How can i redirect users coming to my app on facebook (canvas app) to the mobile version of the same.. i know that can be achieved using this