I installed last month the Facebook plugin for Cordova. Last week I implemented the showDialog to let people invite their friends to the app using "apprequests" method. It worked when I tried with two friends, they got the invites.
Today, trying again, everything works fine - except that the people I invite never get any notification.
Here is the code of the call (using NGCordova's wrapper) :
$cordovaFacebook.showDialog({ method: "apprequests", message: "Come on man, check out my application." })
.then(function(success) {
console.log("success", success);
// success
}, function (error) {
console.log("error", error);
// error
});
The console shows success :
success Object {to: Array[3], request: "id_of_request"}
request: "id_of_request"
to: Array[3]
0: "user_id_1"
1: "user_id_2"
2: "user_id_3"
length: 3
The user ids were good also. But no notifications for them on their Facebook account.
What I tried so far :
Taking NGCordova out of the picture, using basic function behave the same :
facebookConnectPlugin.showDialog({ method: "apprequests", message: "Come on man, check out my application." }, function(success) {
console.log(success);
}, function(error) {
console.log(error);
});
This triggers success as well and still no notifications.
Thanks ahead for any help, I think I'm out of ideas...
Just publish your app in Facebook Developers , under the Status & Review , make it live > "Yes"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With