Can a desktop Facebook app have a canvas page as well? - facebook

Can a desktop Facebook app have a canvas page as well?
We have a desktop app and would like to extend it to include a canvas page.
According to StackOverflow post here a Facebook Connect can have a canvas page, but I am not sure whether a desktop app can have.

Related

Facebook app canvas html?

I have a mobile app and I created for now a fake facebook app (with heroku), for have some permissions to use the graph.
I don't need a real Facebook App and I'm looking for a way to just display my html website in my facebook app, is that possible ?
In facebook developer -> Facebook canvas, I can set a secure canvasurl, but I don't have an https URL.
Any ideas ?
For resume : I just need a facebook app for have some permissions in the graph, but I just want to display an HTML website.

Custom login page

Is there any way to customize Facebook login page on mobile devices ?
I am working on the web application which share images from this app on Facebook wall. But I don't want to have in the app those buttons which allowes you to exit the app, or switch to another tab.
I use this meta to disable upper and bottom bars in the Safari
But in the FB Login page is for example button (Get Facebook for iPhone and Browser faster) which switch me to the Appstore.
I am including this image of facebook login page, where you can see that links which I need to get out :(
http://fotonaut.lukaskosik.com/photo.JPG
You can't tweak this page. It's hosted by Facebook and out of your control.

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 it from https://apps.facebook.com/myfbapp and after I login to FB it opens up with in Facebook. I'm using java (apache / tomcat) for my server side implementation and for simplicity sake let us say I just have an index.html and a authenticationfilter.java (which implements Filter) in my web application. I don't have any Facebook specific Javascript API (no FB.init() javascript or anything like that ) or code in my index.html. Whenever user accesses my canvas application I first get a request to my web application where I get the signed_request , oauth_token , FB user ID etc which I can use for my internal authentication, session creation etc. I have absolutely no issues with this canvas application and every thing works fine. Please note that when user accesses this app the request I get from the browser to my app server has the signed_request , user_id etc.
Now I wanted to make this app available on mobile devices as well and I thought, oh well all I need to do is add the mobile URL for this app in the mobile web app section in Facebook for the same myfbapp. I did that and as expected when I login to facebook from my android phone myfbapp is listed under the apps section, so far so good. The problem starts when I click on the app. I get the request on my app server but it doesn't contain the signed_request , user_id etc.. ????? I was expecting the mobile app to work the same way as the canvas app but apparently it doesn't or I'm doing some thing wrong.
Then I started reading more about facebook mobile app at http://developers.facebook.com/docs/guides/mobile/web/#register where it talks about adding various Facebook Javascript API's in the index.html (I never did anything like that in my canvas app) and then I started thinking , may be then mobile web app is more (or exactly) like a regular web app with FB connect and not like canvas application (meaning it doesn't really load with in Facebook) , is this true?
On mobile facebook you can not see any custom pages/tabs. They are apparently wokring on that at the moment.
So it will be different to a canvas app. Your mobile app will be a completely seperate site and page not in an iFrame on Facebook.
Some behaviour i discovered recently with Facebook Canvas / Page Tabs on mobile devices.
Maybe this helps to understand a little bit better how facebook behaves in mobile context.
Mobile Browser
Access App URL
Example URL http://apps.facebook.com/myapp/
Redirects to the configured mobile website under Settings > Website > Mobile Site URL and adds additional params /?ref=web_canvas&code=<signed_request_code_field>
About the signed_request code field
An OAuth Code which can be exchanged for a valid user access token via a subsequent server-side request
Access App Center
There is no way to access the Facebook App Center via the mobile browser.
Access Page Tab
Example URL http://facebook.com/a_facebook_page/custom_page_tab_url
Custom Page Tabs are not visible via the mobile browser.
Facebook Open Graph Search
Searching for myapp returns the link to the Facebook Canvas.
Same behaviour like Access App URL via Mobile Browser
Mobile Facebook Client
Access App URL
There is no way to access this url directly.
Access App Center
There is no way to access the Facebook App Center.
Access Page Tab
Example URL http://facebook.com/a_facebook_page/custom_page_tab_url
Custom Page Tabs are not visible via the mobile facebook client.
Facebook Open Graph Search
It says that this app is not compatible with this devices.
You need to register an iOS / Android App and send the user to this app to get rid of this error. Probably it helps the user if you add the link to the standalone application to the Facebook description of the app. Which should then be visible there.

Facebook iframe app cannot be opened from mobile device

I'm developing a facebook app (iframe), but it cannot be opened from mobile browser. It always redirects to wall page. Is this always like this? Or did I do something wrong?
I have set Mobile Web URL on my developers page as well.
Thanks

How to modify url to get iphone version of facebook page?

I'm creating a facebook page for my application and I want it readable on mobile safari for iPhone, but the normal facebook pages don't show up properly (see attached image) The wall, info, discussion pages don't show up.
I know I can prepend m.facebook to a url to make it the mobile version, but what about the iphone version? touch.facebook seems to redirect to facebook login.
Facebook http://www.freeimagehosting.net/uploads/6f62d603e3.jpg
Use m.facebook.com.