Link to app on Facebook "Sorry, this page isn't available" - ios

I have a native mobile iOs app, that shares updates on Facebook. This all works.
When a user shares something through the app, you get the following in the Facebook news feed:
User X shared a link via My iOS App.
You can then click on the "My iOS App which tries to open a URL like "https://www.facebook.com/apps/application.php?id=XXX"
That URL shows the error "Sorry, this page isn't available". On the Facebook developer page I see "This app is live" so I'm wondering why the URL isn't working.
Is there some extra action I need to take?

Select "App Info" on the left side when you are in developers.facebook.com, as shown below
,
and then fill in your app details, and click the button "Create New Page", as shown in the second diagram below
.
This will lead you to the setting up of an app community page for your app. Once completed, select the new page as the app page, and save. The "via" link will go to this page.

check Sandbox Mode should be turn "off"

Have you submitted your app page for review? Go to Edit App -> App Details (left side) -> Submit App Detail Page

Enter your App Store App ID in the settings of your Facebook app. Otherwise, Facebook can't find the app on the device to open it.

Related

Branch.io deeplink app is not opening after first click

I implement the Branch.io's deeplink .However the problem is when i share the link users can first click the link and it opens the app , everything is ok but after you close the app and click the same link again it redirects you to App Store and another interesting issue is when you open the app by yourself it acts like you click the link which directs you to the target . If you do this try like 10 times , every time(10 times) you open the app by yourself it directs you just like you click the link in the same order that you click
Steps i am taking :
Open Facebook From Safari
Click the link from message that i recieve from friend
Facebook directs me to app (Everything is fine)
I click home button and terminate the app
I go back to safari , safari reopens due to safari app coming from background to foreground so that it reopens the last page which is the deeplink
This time safari directs me to App Store
Since then any other my app's deeplink that i tap from WhatsApp , Facebook , Twitter etc. just goes to App Store

iOS FBSDK FBSDKProfileExpressionSharer fails on very last step

In my image processing app I try to use Facebook Profile Expression Kit.
After calling method
[FBSDKProfileExpressionSharer uploadProfileVideoFromData:data metadata:nil];
my app opens Facebook, where I can crop length of video, select frame for static image. Everything looks good except very last step when I tap "Use" button. Facebook app starts upload video and then shows alert "Error Uploading Video".
It might happen because app have to pass Facebook approve process. But it behaves the same when i tried it on test version of my App with Facebook test user.
Any ideas why does it happen?
You are missing "Profile Expression Kit" approved item for facebook developer app
Open https://developers.facebook.com/apps/%YOU_FB_APP_ID%/review-status/
Click "Start a Submission" button
Select Profile Expression Kit and add the item to your submission.
Fill in a note for review
https://developers.facebook.com/docs/messenger/review example review for messenger

Unable to like using Facebook iOS SDK

I am trying to implement like in my Objective C application. If I am not logged into Facebook, then after tapping Like button, application opens login screen. I will log into my account. Then screen goes light gray with gray logo of Facebook for a while (with 2 shortly showed grey facebook screens before that) and then I am redirected back into my app. If I am logged into Facebook when running application, everything is the same except not showing login screen.
So my problem is, that I am not getting correct confirmation dialog that should appear after logging into FB account and I am redirected back into my app. Like is not placed.
What can be cause of this behaviour?
I have placed all 3 needed rows into .plist and this is how I am creating like button (p_webView is my subclass of UIWebView):
if (p_webView.fbLikeButton == nil) {
p_webView.fbLikeButton = [[FBSDKLikeControl alloc] init];
}
p_webView.fbLikeButton.objectID = p_webView.article.url;
[p_webView.fbLikeButton setFrame:CGRectMake(p_webView.fbLikeButton.frame.origin.x, height + 5, p_webView.fbLikeButton.frame.size.width, p_webView.fbLikeButton.frame.size.height)];
[p_webView.fbLikeButton setCenter:CGPointMake(p_webView.frame.size.width / 2, p_webView.fbLikeButton.center.y)];
[p_webView.scrollView addSubview:p_webView.fbLikeButton];
More information - I have tried this on simulator (there I do not have FB app, so it was using Safari only). After loggin in, I have got error:
"The page you requested cannot be displayed at the moment. It may be temporarily unavailable, the link you clicked on may be broken or expired, or you may not have permission to view this page."
As it might be difficult to find solution - one needs to be in FB app as administrator, developer or tester for like button to work when testing app that has not been approved by Apple for using native like button yet.
You are doing right.
Maybe you are missing something:
You have to create fb app id and add it to iOS app. So you can open fb app when tap on Like button.(I think you did this)
You have to add your fb acc (using to login) to dev/test roles in your fb app. If not you will be pushed back to iOS app after login to fb (in fb app or safari). <--- I think your problem is here.
Ref: https://developers.facebook.com/docs/apps/test-users
If you want everyone can login and like, you have to Submit Your App for Review (with Native Like button). After that, everyone can use Like button.
For the fb app setting, in the "Status & Review" tab, turn on "Do you want to make this app and all its live features available to the general public?"
After that you can see this "This app is public and available to all users" in Dashboard tab, instead of "This app is in development mode and can only be used by app admins, developers and testers"

How to navigate particular search page in App store?

In my app i am opening documents via UIDocumentInteractionController. if no apps is installed in device we want to navigate to app store.In that place i want to navigate to document viewer related apps page.
if anyone can suggest me.
You can open the App Store to an app page by getting the app page url. On iOS, you can go to the app page, click share and copy the url.
Then, you can open it like this (Swift) :
let theURL = NSURL(urlWithString: "app url here")
UIApplication.sharedApplication().openURL(theURL)
If that answers your question.
All you have to do is use iTunes search query and it will navigate to a an 'app like' visual:
http://itunes.com/Dropbox
Where 'DropBox' is your search term. This is what it looks like on device :
Or you can do it to a specific category:
http://itunes.apple.com/genre/mobile-software-applications/id6002?mt=8

Add app to favorites of facebook page

I saw there where already some toppics about this, but I couldn't find an answer to my question.
On the facebook page of tetris, you can see a button which links to the tetris app.
http://www.facebook.com/tetrisbattle?fref=ts
(right beneath the banner)
I made a page to, but I couldn't find how to make this button.
Can anyone help me please?
Thanks in advance!
Laurent
Goto your app's "App Details" settings in the App Dashboard:
https://developers.facebook.com/apps/YOURAPPID/appdetails
Under the Contact Info part of that page, there is an 'App Page' field, with a button to create an App Page. You should click on this and create the Facebook Page that way. Once you do, there will be a button on the Page that will either say "Go to App" or "Play Game" depending on how your Facebook app is categorised.
I searched a little bit more, and I've found an answer to my own question.
In this link, you have to give your app id, and the link to your app.
Then a facebook popup comes, and asks you on which page you want to add this app.
http://admine.eu/addapp.html

Resources