Facebook App Invite Links not working - facebook

I'm trying to setup app invites. Basically I want users to invite their facebook friend to try and install my app. I did setup app links in facebook. This is what I did
What I'm doing wrong? Instead of play store url, i tried putting my app url, but not working. I read the FB documents, it's so confusing, I'm not clear on what is what.
Also, what is the below is for? I belive it's for deep linking. Is that correct? I don't want deep linking for now. Now I only want users to invites their FB friends and when they click on the invite, it should take them to android store

I faced with this problem before.
Go to your app setting then define your app "namespace". Afterthat, your app invite will works.

Related

IOS - Facebook how to invite friends to download app?

I have an Ios app , i'm trying to implement this flow:
User click a button->a list of my facebook friends appears-> i select one or more friends-> to each of this friends the app sends an invite to download the app from store-> i count and save locally the number of friends invited.
I have read documentation and the FBSDKAppInviteDialog seems to be the right choose. I have implement this solution and then i have discover this:
In ios 9 i can't switch in the fb app during the login
I can't know how many friends i have invited
The safariviewcontroller can't dismiss after an invite
The documentation is invisible
and maybe so on...
I have removed this FBSDKAppInviteDialog, it can't be a solution.
After hours i'm very frustrating, anyway i have see the candy crush app. It can send invites in in web browser,facebook app,mobile browers and it can select multiple facebook friends. Anyone know how achive the same result? I can replicate with Graph?
In ios 9 i can't switch in the fb app during the login
This is expected behavior, on iOS9, the Facebook SDK will fallback to a SFSafariViewController based approach for most of the dialogs
I can't know how many friends i have invited
As far as I know, the dialogs never supported this.
The safariviewcontroller can't dismiss after an invite
This seems to be a functionality SFSafariViewController doesn't support (dismissing it from within the loaded page).
The documentation is invisible
The documentation for the FBSDKAppInviteDialog works fine for me (https://developers.facebook.com/docs/app-invites/ios). If this is not working for you, it'd be a good idea to file a bug report at https://developers.facebook.com/bugs so Facebook can look into it and fix any bugs that might be present

App requests successful, but no notification shown

I am using the normal setup for sending invites through the requests dialogue:
FB.ui(
{
method: 'apprequests',
message: "Please add me, I am doing the same, thanks!"
},
function(response) {
console.log(response);
}
);
The response is successful, response.to shows multiple ids. So sending these invites works like it should. The problem is that these apprequests are not shown up as notifications like they usually do, instead the only place to find them here.
Has the API changed? Looking for answers has given me no results, though I did find this bug report from February 15th 2013.
Is Facebook just testing yet again, or has the API changed but not the documentation? I am truly grateful for any insights!
There's two simple things that might cause that problem.
One is that you application is missing the Canvas. Just add it from the your App panel in Facebook Developers.
The second one - make sure your app is NOT in SandBox Mode. If it is it won't send any notifications. I lost hours before figuring that out and changing the code in all possible ways.
Hope that helps.
Its not facebook bug its a problem in your facebook app configuration :
Follow the below configuration and its working like a charm.
You just need to go in to the Facebook developer and select your app and goes in to the setting of your app and click "Add Platform" and select "App On Facebook" and than add canvas url in it. now try to send invitation and it will show the notification.
Thanks
Sagar
or go to facebook developers,
Change 111 to your APP ID
-Fedmich
This was posted yesterday in facebook bugs site.
However, it is still not working for me even though I'm utilizing the exact code that the FB comment is referencing.
I realize this is not complete answer to the question and should be put in the comments. However I am a newbie and don't have enough reputation on StackOverflow to post comments. Emil, could you please let me know if you resolve this issue.
Had same issue, I added Secure Canvas URL, etc. But problem was I haven't provided iPhone Store ID inside iOS section in Settings.
As of Graph API 2.3, Game requests are only available to games.
As mentioned in Game Requests description, you have to create Facebook Web Games in App Portal, then you will get the notification with Game Request. Not for website anymore.
I had to implement facebook ‘apprequests’ instead of the deprecated ‘appinvites’ in an existing cordova app and spent hours debugging.
‘apprequests’ are only available in Facebook Apps categorized as ‘games’.
You can send notifications only to platforms (iOS, Android, Facebook web games) that are involved with the facebook app. That means, you will never receive a notification in your browser if you miss ‘facebook web games’ as platform. My expectation was to be notified in the facebook browser app if I was invited from a Mobile app.
iOS devices don’t get notifications.
In my case, I’ve missed to fill the app store id in the Facebook app platform configuration. After that, notifications appeared instantly.
If you like notifications in the fb browser app, you have to add ‘Facebook web games’ (formerly known as ‘canvas’) as plattform.
You can save yourself a lot trouble by creating test users in the app role category of your facebook app.

Users getting 404 when accepting my App invite - why?

After creating an iOS app on Facebook, I've tried sending out app invites to FB users. However, the invite directs them to the URL http://www.facebook.com/apps/application.php?id=175116205946673 which is just a 404 page.
I've tried connecting the app to a Community Page in the hope that the invite would send them there instead, but no luck. The app is not in sandbox mode.
I've seen this question asked before, but no solution worked for me. I can't tell the invite to direct users to my Community Page, my App Center page or just my iTunes store page - because I don't know how to manually set the target URL in an invite.
Go to Facebook Developer Apps center ,
make sure that 175116205946673 is your app ID and also check:
1.Is your application on? (not sandbox)
2.Is your application authorized?

Open IOS Application which uses sharekit via fbconnect and/or sharekit from facebook app or facebook website

Does anyone of you know if it is possible to open a App which uses sharekit from a Facebook request by clicking on the request either in the facebook app, or in the browser?
I could not find anything about this in the web.
To be more precise i want my app which uses sharekit to send a request to a facebook-friend. This facebook friend should then be able to open the same app by clicking on the request either in the facebook app on his mobile device or by clicking on the request on the facebook browser page which is opened on his mobile device.
I already know how to share things in facebook via sharekit, but to get it "the other way round" seems to be difficult. I could not find anything helpful in the web so far.
Greets and many thanks in advance,
Maverick1st
Yes. Your will will need to register itself as a protocol handler, and the link clicked on from Facebook app would need to use the url scheme you define.
Example:
my-social-app://invite/1234
Keep in mind if the recipient does not have the app installed, or they do this on their desktop machine, they will get a message that the phone is unable to open that URL.
See this tutorial: http://mobileorchard.com/apple-approved-iphone-inter-process-communication/

Facebook Integration in iOS app

I need to post a user-specific text, determined by him, on his wall/timeline when he presses a button (in facebook's tutorial, they make the user login when the app launches, and then it does nothing).
There is a lot of information on the internet but every site does it in other way.
Just wanted to know if there's a specific way to do it.
Thanks!
A quick easy way to add facebook to your app is ShareKit (http://www.getsharekit.com/). This also allows you to add other social network site to your app.
You might want to try Socialize: http://www.GetSocialize.com. It'll allow app users to comment & like within the app, with the option of also sharing out to a social network (Facebook currently live; Twitter coming). Full feature list at http://go.GetSocialize.com/features
DROdio