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
20
votes
1 answer

Facebook deauthorize callback is not called

I have develop an Facebook app (a game in "development mode") consumed by a web client (Facebook canvas) and a mobile client (Android app). I have also a REST API (developed with Laravel) which allow the exchanges between clients and the Facebook…
Guicara
  • 1,668
  • 2
  • 20
  • 34
17
votes
5 answers

Facebook iframe tab signed request always empty

I'm working on a Facebook app tab and would like to use the signed request bundle as documented here: http://developers.facebook.com/blog/post/462/ I'm trying to use their example code to unpackage the signed request which is supposedly passed to…
Seth Brown
  • 608
  • 1
  • 6
  • 9
13
votes
1 answer

Blank Canvas => 'Refused to display document because display forbidden by X-Frame-Options.'

when the canvas app is loaded within the iframe nothing is display and on Chrome Firebug Console I see the error: Refused to display document because display forbidden by X-Frame-Options. I tried this solution: Overcoming "Display forbidden by…
Leonardo Dario Perna
  • 1,045
  • 2
  • 10
  • 23
9
votes
2 answers

What can a Canvas app do that an external site using Facebook's SDK cannot?

I've read Facebook's documentation for Canvas apps several times, but I'm having a hard time telling which features are available only to Canvas apps and which features are also available to non-Facebook websites that use the JavaScript SDK. For…
9
votes
1 answer

Is there a way to pushState() the parent window in facebook canvas?

I want my facebook canvas app to be able to update the address bar URL when changing context. So, for example, if my app's home URL is https://apps.facebook.com/myapp/, and the user clicks on some item on the home screen, I'd like the URL shown in…
onon15
  • 3,620
  • 1
  • 18
  • 22
7
votes
2 answers

Facebook canvas app vs Facebook mobile web app

I'm a bit confused about the difference between a facebook canvas application and a facebook mobile web application. Here is the context of my confusion.. I have a canvas application, let us call its namespace as myfbapp, and I basically can access…
saj-and
  • 479
  • 2
  • 9
  • 20
6
votes
4 answers

Facebook Apps Horizontal Scrollbar

I have noticed that this new horizontal scroll bar at the bottom which I am unable to remove. I have attached an image in which i have also clearly marked the scroll bar which i am talking about. I know there is canvas setting in app settings but…
Saad Bashir
  • 4,341
  • 8
  • 30
  • 60
6
votes
3 answers

how to read facebook signed_request to get user_id

According to Facebook - Authentication within a Canvas Page Document, they say that we will be getting a signed_request which consists a JSON object. Now they say that signed_request can be get through $_POST['signed_request'] I agree its working…
5
votes
2 answers

Scroll Event inside Facebook Canvas Applications

I'm looking to use a LazyLoad technique for images and infinite scroll to load new content into my page. Both these things make use of the $(window).scrollTop() function that inside a Facebook canvas application doesn't work. I know i can use…
nav
  • 3,035
  • 1
  • 20
  • 24
5
votes
2 answers

unable to view APP PROFILE PAGE .... "The page you requested was not found"

Problem App: http://www.facebook.com/apps/application.php?id=299226733441387 For some reason I am unable to view any NEW ...App Profile Pages... after I create a basic page tab app! When I click on the "View App Profile Page" I get the error…
Alex Taylor
  • 61
  • 1
  • 4
5
votes
3 answers

Detecting Facebook canvas in Rails app

I'm using a before_filter to detect the signed_request query string Facebook generates when a user is referred to a canvas app. Then, I set session[:canvas] = true and test for that when I need different app logic based on whether the user is in the…
Slick23
  • 5,827
  • 10
  • 41
  • 72
5
votes
4 answers

Facebook canvas apps HTTPS and HTTP

I have created two Facebook canvas apps. I am having problems with people accessing the apps. In the app settings you must enter: Canvas URL Secure Canvas URL Secure Canvas URL wont accept HTTP links but only HTTPS. When some of my users go to my…
Primoz Rome
  • 10,379
  • 17
  • 76
  • 108
5
votes
3 answers

How to configure AWS S3 to allow POST to work like GET

Facebook states in their canvas setup documentation: Our servers will make an HTTP POST request to this web address. The retrieved result will be displayed within the Canvas frame on Facebook. My application is hosted on AWS S3 as a static…
drewwyatt
  • 5,989
  • 15
  • 60
  • 106
5
votes
0 answers

Making Rails Authenticity Token work with iFrame or Facebook

It's been known that the Rails CSRF authenticity token doesn't work inside an iframe or Facebook canvas. Iframe causes Can't Verify CSRF Token Authenticity n Rails The recommended solution is turning it off. However, I've been getting some bots…
5
votes
0 answers

Facebook app infinite scroll issue

I'm trying to use infinite scroll on a Facebook app we're currently building, however it will not work due to being in an iframe. Has anyone come up with a work around for this or a similar situation. https://github.com/paulirish/infinite-scroll
Maxim McNair
  • 1,028
  • 1
  • 9
  • 10
1
2 3
25 26