Show a specific facebook page in desktop mode on a mobile device - facebook

On mobile devices, I can force facebook to show the desktop main screen with
https://www.facebook.com/home.php
on the other hand there are specific pages like this famous one
https://www.facebook.com/4/
Is there a way to combine those and showing a specific facebook page on a mobile device (iPhone) in desktop mode? Something like
https://www.facebook.com/home.php?showme=/4/
or
https://www.facebook.com/4/?mode=desktop
The last two urls don't work. They're here to illistrate what I'm searching for.
Yes. I'm aware that Safari on iOS allows the user to force Safari to show the Desktop Sit and this works with facebook. But I'm looking for a solution without forcing the user doing this each time.

Related

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"]));
}

app showing up in bookmarks on facebook web, but not in bookmarks on facebook mobile

My app "Butter Picks" is showing up in the left-hand-side bookmarks in the regular Facebook web view, but it does not show up in the bookmarks on my iPhone. I've surveyed all the relevant documentation and can't find any setting that needs to be changed. If I use the search within FB iPhone app to find "Butter Picks" I can find the app and use it as expected.
Any ideas?
As Igy pointed out in a comment, bookmarks are only shown for native apps inside the Facebook iPhone app. The mobile site should have a bookmark for any mobile app.

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.

Face book latest IOS SDK problems in iPhone?

I am working in face book functionality in my apps. I have integrated the latest Face book-IOS-SDK. When runs the application, the application is started and runs in the safari browser. Now I want to load the application in the user view(FB web view) instead of Safari. How can I achieve this?
Facebook doesn't want you to. Facebook's new SDK wants the user to login into Facebook once, and than that Facebook login be used in every app on the device that uses Facebook. Because of the way the iPhone works, the way they had to do that was through safari so that each app could get that info. You can go back to the original way (which so far I personally prefer), but I'm not entirely sure how.
However, if you use the new way, it will automatically redirect the user back to your app once they finish authenticating it. Also in the Safari page they can give your app permissions, ie. post status updates.