Snapchat QR Code: user flow for viewing on mobile web? - mobile-website

Goal: use Snapchat's QR codes to gain followers by adding Snapchat ghosty QR code to website
Desktop web experience:
user goes to site on desktop, sees ghosty
user takes picture of desktop site and becomes a follower
Mobile web experience
user goes to site on their phone or tablet
pulls out second phone ?

Related

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

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.

Facebook Sharing App for Desktop

I am creating an application in which user can upload their 360 video.
In Facebook i am unable to fine Desktop platform. My application is desktop based so it can be accessed form the kiosk(1PC) only.
My app will ask user click on Post button. Facebook authentication will appear and it will post the video automatically.
Anyone knows how to get permissions for desktop 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"]));
}

Facebook app - Mobile and Canvas?

can an app in Facebook have desktop page for Facebook Canvas and a page for Facebook mobile at the same time? Current I have a desktop app but if I create mobile pages on the same URL can I point the "Mobile Web" section of Facebook apps to that too?
Thanks
can an app in Facebook have desktop page for Facebook Canvas and a
page for Facebook mobile at the same time?
Yes, sort of. There is no mobile canvas, if that's what you mean. However, you can have a mobile web page and a desktop canvas app for the same app.
Current I have a desktop app but if I create mobile pages on the same
URL can I point the "Mobile Web" section of Facebook apps to that too?
Yes you can use the same URL for both, then just detect the user agent to determine which to show.
User agent sniffing is always a bad idea. In the entry point of your application you should determine if it's desktop or mobile by checking for the 'signed request' variable that Facebook sends if the user is loading the app via a page tab within Facebook (i.e. a desktop user). If the user is accessing the app on mobile, outside of Facebook, then this variable won't be sent.
php:
if(isset($_REQUEST['signed_request']))
//load desktop version
else
//load mobile version

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.