Poll

Which is better?

Canvas (inside FB)
Hard to tell which one
No canvas (redirect)
Dosn't matter
No opinion

Author Topic: Facebook canvas vs no canvas  (Read 1737 times)

Offline Chris

  • Game Owner
  • Level 35
  • *
  • Posts: 2,217
  • Reputation: +28/-1
    • View Profile
Facebook canvas vs no canvas
« on: August 28, 2010, 07:56:48 AM »
Which one to choose, open a game inside FB (canvas) or redirect to a separate page (no canvas)?

Canvas means you are restricted by the page width of 800-something pixels, but it has a more integrated feeling, more like part of FB.

No canvas means the game opens on a brand new page and you have the whole page for the game layout.


Offline Marek

  • Level 18
  • *
  • Posts: 177
  • Reputation: +7/-0
  • XHTML, CSS, JS, PHP and MySQL are my pantheon.
    • View Profile
Re: Facebook canvas vs no canvas
« Reply #1 on: August 28, 2010, 08:23:09 AM »
My vote would be: both!

Since a facebook canvas is simply an iframe to your own site, you could let users play it both ways. For players who found your game through FB and who enter it by clicking their FB app menu, they will play in the canvas. For players who found your game outside of facebook, they can login directly.

But I guess my real vote is for "canvas" because I think that people who enter through facebook feel better about privacy and safety when the app is displayed inside FB, rather than going to "some third party site". Users feel safer within FB, I think.

A usability difference would be that when your site is viewed through the canvas, you would redirect non-logged-in users to the FB login page. When your site is viewed directly, you would redirect to your own login page which could include a FB login button.

In both cases you can get the login url from the PHP-SDK using $fb->getLoginUrl(). For the canvas just directly redirect to it: output a <script>window.location.top = loginurl;</script>. you need to do this with JS to redirect the top frame, not the iframe.

Otherwise you can output a FB login button which is actually just a link to the getLoginUrl. You can also use the JavaScript SDK to make a button that opens a login popup. Then you can detect the JS event that signals that the user has logged in.

The options to getLoginUrl are relevant: give it the "cancel_url" and "next", which are the URIs where the FB login will redirect to next. For canvas, you want it to go to your canvas uri (apps.facebook.com/blah/).

Offline Chris

  • Game Owner
  • Level 35
  • *
  • Posts: 2,217
  • Reputation: +28/-1
    • View Profile
Re: Facebook canvas vs no canvas
« Reply #2 on: August 28, 2010, 09:26:16 AM »
My vote would be: both!
Well, of course I need the standalone version no matter what for non FB users.
The question is only about FB users.

Basicly I have 3 choices:
1) Make big standalone page and redirect FB users there
2) Make small page and use it for both standalone and canvas
3) Make small for canvas and big for standalone page versions
OK, I have 4-th option too...
4) Make small standalone page and redirect FB users there :)

Offline Shrapnel

  • Level 9
  • *
  • Posts: 46
  • Reputation: +0/-0
    • View Profile
Re: Facebook canvas vs no canvas
« Reply #3 on: August 30, 2010, 08:29:21 AM »
I chose no canvas because FB is getting more and more negative publicity and I think lots of people are even getting tired of FB apps.  Facebook is good for promoting your game and there may be beneficial reasons for having your game as a facebook app, but why tie your game to facebook and the negativity facebook receives?  I say use facebook for what it is good for, but make it clear your game is your game and don't remind people of facebook when they are playing it.
"Never compromise. Not even in the face of Armageddon" -Rorschach, Watchmen (2009)

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal