Facebook app canvas html? - facebook

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.

Related

Can we place webpage functionality URL in the Facebook Web Games Page URL.?

I am trying to create a functionality and load on Facebook, the page will be load as "apps.facebook.com/appname". Can we use "Facebook Web Games" to load our application on Facebook.
In earlier days i have placed the webpage URL in the Facebook Canvas URL. But this feature doesn't exist on Facebook.
Anyone help me with this?
Can we use "Facebook Web Games" to load our application on Facebook.
Facebook Web Games is what used to be called the Canvas platform.
Facebook just renamed it, after they decided to use the “Canvas” name for their new advertising format.
So yes, you just put the URL of the page you want to display under apps.facebook.com/appname in the Facebook Web Games settings.
(This is not limited to games, despite the naming. If you want to show other content that way, that is fine as well.)

Launch Facebook App from Browser and Post Status Update

I have a mobile website that I would like to allow users to share the url via their native Facebook and Twitter apps (it is tedious to have to login to m.facebook.com).
I can have a link to fb://post to open the FB app, but I can't figure out how to actually pass params for updating a status. I want the functionality of using the sharer.php link on the desktop, but for the native mobile app.
Is this possible?

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.

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

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.

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.