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?
Related
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.
Excuse me for the confusing title. We have programmed App which runs with in the Facebook. It can be accessed over the desktop/notebook browsers. However it is not accessible/available if I login to the Facebook app on my iPhone and go to the APP list. Following scenarios does not work.
1) If somebody sends me the invitation to use the APP using Facebook message. If I now login to the Facebook-app on my iPhone and go to the messages and click on the invitation, I see the error. "Page not found". This works perfectly if I login to Facebook using browser (on laptop or iPhone)
2) On my iPhone, in the Facebook APP, if go to list of my APPs then our APP is not available in that list. (Other apps like candy crush and so on can be found)
Are we missing some configuration?
Thanks in advance.
Best Regards
You are talking about a canvas app?
Those are not available on mobile, and never have been. But you can specify a Mobile Site URL in your canvas settings – users on mobile devices, that follow a link to your canvas app somewhere will then automatically be redirected to that external address.
Little cave-at: This has been disabled on a larger scale by Facebook recently, because some people where using it to redirect users to malware sites. Therefor now you have to get your app “white-listed” before this will work. Check this bug report, the FB engineer mentions are form where you can request this: https://developers.facebook.com/bugs/1051463851558493/
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.
I able to post apprequest with my app server-side (app generated) without error. Returns Id and user to. I used FQL tool to query using appid and userid and I get results. But when I go to my facebook page I don't have a notification nor do I see app on the left side with count. Can this be a setup issue (my first FB app)? I have the app in sandbox mode, does that have anything to do with it?
how your app integrates with Facebook setting has both Mobile Web and Canvas checked. This will be primarily a Mobile Web app.
I'm able to create posts and those show up.
Any help will be greatly appreciated.
Thank you,
Rick
Indeed the issue here is sandbox mode.
Unless the user being sent the request is listed in the "roles" section of the application, the request won't really be sent out. The requests point back to your canvas URL, but with your application in sandbox mode, no one other than the team developing the application is able to reach that URL. Facebook doesn't display the notification because it wouldn't lead anywhere.
As far as you are concerned, the moment you get a request_id back after sending the request - it was completed successfully.
I'm developing a test Facebook app to just get a feel for the platform.
Programatically I can send invites with the FB API.
I send my friend an invite and he can accept the invite which takes him to my app. If he leaves the app, he can't get back to it because it does not show up in his Apps list. His Apps link says App Requests. (Is Facebook A/B Testing this?) Of course, he could bookmark the app but he shouldn't have to. The other thing I noticed. Is in my Facebook dev apps dashboard my User count is still 0.
Main question: He can't see a link to the app anywhere? And also me as the developer can't see a link without going into the Developer app.
Is this because the app is not listed/published yet in the directory? This is very confusing. Help.
Facebook is redoing the invite system. They introduced the new Requests system early in the year, and recently released v2.0. Requests under the new system will remain until you delete them programmatically or the user clicks the "X". http://developers.facebook.com/docs/reference/dialogs/requests/
As for user count, unless you request authorization and they grant it, your user count will stay at 0.