Facebook Activity Page on Mobile web page - facebook

I'm creating a mobile app using web.
Is there any way to display Facebook Activity page, or share dialog on your Mobile app page? I mean Facebook Activity page displays and stays on the mobile app not outside, or in the browser but on the app I created.
Is there any way to do this?

Related

Invoking Chrome browser to render landing page after ad clicked in app using Android webview

I am running ads in mobile apps to drive traffic to my site. Much of that traffic is being rendered in Android Webview. I want to force the mobile app to open the Chrome browser to render my site after my ad is clicked in the app even if webview is being used at the time the ad is clicked. Is there a way to do this?
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.

Persisting cookie for iPhone UIwebview mobile web app

I'm using MVC4 forms auth. My mobile web app runs in full screen UIwebview on iphone. I have a home screen icon for my mobile web app. The app needs to launch external links. Those launch in Safari, which works fine. However returning to the mobile web app by clicking again on the home screen icon, seems to have logged the user out. Ideally I want the user to remain logged into the web app after viewing the external links in Safari. Maybe the cookie got deleted? Can I persist the cookie?
FormsAuthentication.SetAuthCookie(username, createPersistentCookie: true);
This fixes the log out issue

Is there a work around solution for displaying Facebook App tabs on mobile device?

At the moment when you send a Facebook tab URL link to a mobile device you get the following response 'The page you requested was not found' - does anyone know of a workout solution - maybe utilising a fb mobile app that would allow the display of page tab on mobile devices?
I recommend you to provide App Canvas URL to show mobile version of the app to the users who use mobile devices instead of the Page Tab URL. Note that if an user access to the App Canvas URL in a mobile device, the user will see the content of the 'Mobile Web URL' in the facebook app setting, while an user access to the App Canvas URL in a desktop browser, the user will se the content of the "App Canvas URL."
When an user access to the App Canvas URL in a desktop browser, just redirect to the page tab url
When an user access to the App Canvas URL in a mobile device, Facebook will redirect the user to the Mobile Web URL, just serve mobile version of the app in Mobile Web URL.
try this (from here: Is it possible to show a Facebook app as a Page Tab on mobile devices?)
https://www.facebook.com/fbpageurlname?sk=app_123403406338325&ref=ts
adding &ref=ts to the end of the url stops the page tab redirecting to the mobile version of the site.
also, remember to use /fbpageurlname?sk=app_APPID and not /fbpageurlname/app_APPID
otherwise you'll get a page not found error when you add the &ref=ts to the end of the url

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