Facebook app development on mobile devices - facebook

I've created a company page on Facebook to which I've added some iframe apps that we've developed. These work great on PC and I can see the tabs to these apps under the cover image. All well and good.
In the development area I've entered a Mobile Site URL under the Mobile Web section, but when I view the Facebook page on a mobile phone, there is no sign of a link (like the tabs on the desktop version). Should there be some kind of link on the mobile version or am I missing something?
Thanks.

To answer my own question.
Seems this is not possible.
Is it possible to show a Facebook app as a Page Tab on mobile devices?

Related

Configuring AIR for desktop as Facebook Application

Creating an AIR desktop application that has the ability to upload images to a Facebook user's account.
Even though this is a desktop application, in order to integrate with Facebook you need to embed a 'webview'. So I am confused as to how I should define this on Facebook? From Facebook's point of view, is this a web application or a desktop application?
https://developers.facebook.com/docs/facebook-login/review/requirements#platforms:
“Desktop apps should submit a Web platform and include detailed screenshots or a screencast of the integration.”
Choose a dummy address for the Website platform (such as http://localhost/), and mention the fact that this is not actually a website app, but a desktop app, very explicitly in your review instructions.

Facebook share dialog web doesn't work on iOS in-app browser

My website has a social dialog web which works on most browsers and even Facebook in-app browser on Android device but not iOS. The header of the social dialog (with Cancel on left and Post on right) is missing when displayed on Facebook in-app browser. The flow of accessing my website as follow:
A shared link (external link pointing to my website) is clicked on Facebook app on iOS device.
My website is displayed on Facebook in-app browser (which I hate it so much but can't help).
Open the following social dialog and the header of the dialog is missing.
https://www.facebook.com/dialog/share?app_id=1520072421556747&display=popup&href=http%3A%2F%2Fwww.sharefer.me%2Fpromotion%2F52956d269cd90fb5399d5ced%2Fuser1&redirect_uri=http%3A%2F%2Fwww.sharefer.me%2Fshared%2F52956d269cd90fb5399d5ced%2Fuser1
Is anyone facing the same problem? Must I create the shared dialog for iOS instead of web to solve this problem but Android has no problem at all.
Thanks!

My web app not showing on facebook native app

My app is showing on facebook desktop, m.facebook.com, but not on the native app?
I meant not showing on bookmark or favorite. When I search for it within the native app I can find it.
According to the documentation it should also appear on the native Facebook app bookmark?
Can anyone please advise what did I do wrong? I have set the mobile web setting already.
Thanks
If your app has a native app, the it will show up in the Facebook app bookmark list. If you app is a desktop or canvas app, it shows up on desktop. If your app is a mobile site, then it shows up on m.facebook.com. You need to specify the type of app or apps you support/have/exist in the developer dashboard for the app.

How does Facebook handle tablets?

I'm developing a Facebook app that has a responsive layout. Sometimes my app has to generate a link for the user. Whenever possible, the links will send the user to a Page Tab (when the user is on a desktop) and other times it will link directly to the app (when the user is on a mobile phone).
What is the default behavior for Facebook on tablets? Does it show the mobile site or the desktop site?
Should I use the mobile or desktop version of my app on tablets?
Update: In response to BBog's question in the comments:
My app prefers the desktop version because it includes a Like-gate. If the user experience is good for a tablet to view the app in a page tab (which is only available on www.facebook.com ie non-mobile), then that is preferred because the like button will be displayed at the top of the page, above the app's iframe. In contrast, the mobile version of the app requires that the user click a link that takes them to the (mobile) facebook page which they must like to un-gate the app. It adds an extra step for the user and requires that they navigate away from the app for a moment. Users might be discouraged by this extra step and decide not to enter the gate.
For Android tablets - Honestly, it depends on how you want Facebook to handle it. If you look at the android native app linking wiki - https://developers.facebook.com/docs/mobile/android/deep_linking/, Facebook provides you the option to choose the user experience. The facebook native android app itself treats tablets like mobile phones. It would be ideal if your app is compatible with tablets, and then you can enable deep-linking which will let the user view the content inside of your app.
For iOS, it's handled from within the iOS bundle id.
Unable to find a concrete answer, I ended up detected the user's referral on the first page access. Then if www.facebook.com is in the url, I go to desktop. Otherwise I go to mobile..
if ($detect->isTablet()) {
session_start();
if (!isset($_SESSION["tabletAsMobile"]))
$_SESSION["tabletAsMobile"] = (stripos($_SERVER["HTTP_REFERER"], 'www.facebook.com')===true):'0':'1';
}
$useMobileLinks = ($detect->isMobile() || ($detect->isTablet() && $_SESSION["tabletAsMobile"]));
}

It is possible to develop a facebook application using PhoneGap?

Basically, I'm doing some thesis.
A facebook application that is playable on Mobile Devices.
The idea is,
1. I'll create an application.
2. It will be playable on Facebook. http://apps.facebook.com/[name]
3. It will be accessible and playable on Mobile Web Browser through http://apps.facebook.com/[name]
If you have any idea on developing an application on facebook that is playable on Mobile Web Browser as well. It will be much appreciated if you shared it with me.
Things that I've researched so far:
1. Not all flash game are playable on Mobile Devices.
Flash-lite can't handle all apps, like Farmville.
2. Server-side games work pretty well. Mafia Wars and the like..
Solution I think so far:
HTML5 Canvas.
Problem:
I don't know what kind of framework that will work pretty well for the Desktop browser and Mobile Web Browser as well.
Thanks for reading.. ><
You can't run game or any other mobile web app on url http://apps.facebook.com/[name] because facebook will load you app in iframe and currenty facebook layout when displaying canvas apps is't made for phones only desktop.
I had the same problem recentry but it wasn't the game but some forum like app. My solution was to have the mobile app on domain myapp.com and when it's load I detect if device is mobile or desktop.
If it's a desktop browser I redirect user to fb canvas app on http://apps.facebook.com/name which runs the same app from the same domain myapp.com but uses different visual templates for displaying it self.
And if it's a mobile phone I leave user on myapp.com and display app with visual templates for mobile version.
So I have same app with two visual interfaces, one for desktop that runs inside facebook and one on mobile. And mobile version uses facebook connect to login user. Database in background is the same and basically everything is the same except interface.
And it work really well.