How to use deep linking with posting photo - facebook

I have integrated facebook to my android App, and posting through the App. On below posted photo by my application I see "posted XX minutes ago via APPNAME", clicking 'APPNAME' no reaction. How can I change this link to my google play for example.
So how for example instagram or other apps redirect "via app" to their sites ?
I want my app to be able to make a share on Facebook which will appear as a link via my page. Is it possible?
I used to facebook sdk v2.0 and referenced below site. https://developers.facebook.com/docs/mobile/android/deep_linking/ I've set the below information . Settings -> Basic -> app -> Website with Facebook Login, Mobile Web, Native Android App.
But, page didn't redirect in case of Native Android Facebook app. I can't link To my native App.

You have to create a Facebook app page to get the via app name feature.
You will also have to specify native app link in the facebook app, save a key hash and specify the Launcher activity name in the facebook app to launch the app if it is installed on the android device.
If the app is not installed,clicking on the post will open the play store link.

Related

FBWebDilaog shared URL redirecting to app

I am using FBWebDialog (supported in the new facebook 3.2 SDK) to share on facebook in from my ios application. I am setting a youtube link for the link parameter passed in the arguments
for the FBWebDialog. It shares the link but on tapping the link from the facebook account logged in from the facebook app on the iOS device redirects me to the app, if the app is present in the device. If the app is not found on the device it directs me to itunes page of my app. This is an anomalous behavior as the it should redirect me to youtube link. However, if I login to the facebook account on a PC and click the shared link it redirects me to youtube link.
How do I fix this?
Go to your App Dashboard settings: Basic > Native iOS App, then turn the Deep Linking to Disabled.
You want to turn off deep linking back to your app. This will however, turn deep linking off for all links from your app.

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.

facebook app doesn't auth for my app

I have a problem to connect facebook app with my app.
I don't know much about facebook sdk, so I simply copy & paste from the facebook sample app.
(i only need upload image with some text).
it works well unless facebook app is installed on the device, but if a device has facebook app, it seems like can't get the login information.
I think it is because of facebook app doesn't ask auth for my app unlike safari browser.
What do I have to do?
Please Download the latest version of Facebook app (4.1.1) from app store. The Single Sign On(SSO) only supports in the latest version of Facebook application.

facebook authorization dialog style

in Facebook official website, iphone authorization dialog is
while when I work follow its steps(iOS for iPhone/iPad): http://developers.facebook.com/docs/guides/mobile/
I got the authorization dialog as follows which is the same as Mobile Web.
Who can tell me why?
How can I get authorization dialog as the iphone one in Facebook official website?
On the latest versions of iOS on the device and if Facebook app is installed on the device there will be login dialog. If Facebook app is not installed, then it will open Safari to obtain the access token. This is by design of Facebook iOS SDK. You can patch the SDK if you don't want Safari in in any case.
see authorizeWithFBAppAuth method in Facebook.m
hope this helps

iPhone facebook connection is not working with existing native facebook app

I have an iPhone app using facebook connection using FBConnect from github code.
It worked fine in the simulator, however when I installed it in the device with existing facebook app from facebook it didn't work. It opens the existing facebook app instead of returning to my own app.
How to avoid this kind of conflict using FBConnect for facebook connection with existing facebook app?
FYI, facebook app screen says "You have already authorized MagLetters. Press "Okay" to continue." however when I click "Okay" it will bring me facebook app's default page not to my app.
I would check the following:
Are you running the latest Facebook App?
Did you setup the URL Schemes in your plist file?
Are you overriding the application:handleOpenURL: method?