I'm trying to send a invite to my friends who doesn't use my app in facebook, so, I used FB.apprequets function to do. My design is to show the recipient {my custom message}. But request that the recipient received is always "GAME NAME: FRIEND NAME sent you a request".
Is there ways to change that message?
Also in Facebook reference, they say "If a recipient didn't install the game, he will receive invite message like Anita invited you to play Friend Smash!". But it doesn't work.
A custom message is not shown in the notification jewel.
It will only show up if the user views their notifications under https://www.facebook.com/games/activity
This is by design, and nothing you can change.
Hey i was wondering if you got the invite to work? Because currently right now my game sends app requests, but only to people who have installed my game can see the app invite/request in the notifications panel. Other than that, they can't see the app request if they have never installed the game.
Related
I've noticed that some Facebook apps, like BranchOut, have customized notifications messages. When an app request is sent and appears in the top left notification center the text on the notification is something they seem to control on their own, instead of the default "Name sent you a request".
From what I find the the documentation this isn't possible. Custom messages are only shown for users already using the app, otherwise you get Facebooks default invite message.
Does anyone know how they are doing this? Do they simply have a deal with Facebook, or are they sending something other than an App Request?
Just in case someone else finds this question, it appears you can no longer control this message. There are some stuff floating around on other questions but none of them work anymore.
According to the docs, only whitelisted apps are allowed to edit the app request message that shows in the notification itself.
You can send custom notifications with the Notifications API:
https://developers.facebook.com/docs/concepts/notifications/
These can only be sent to users who already have the app installed.
If you wish to invite someone to the app then you must use apprequest which doesn't allow you to customise the message.
I am trying to create an application that will basically be a Linux command line messenger app just for Facebook chat. When you connect to facebook chat using the XMPProtocol, you can send instant messages to all of your friends but you can only see the messages from the friends that appear online. If an offline friend sends you a message, you do not see it. I have tested this with various chat programs (like pidgin) that are using XMPP to connect to facebook chat.
There is an iPhone app called "Messenger" that allows you to send and receive instant messages even when your friends appear to be offline. How is this possible? Do you have to use some other protocol? I tried making a research about this, and while there were many references about XMPP basically having this limit, there was no reference about how you solve this problem. I'd appreciate any clue regarding the direction I should look (may that be just the name of a protocol, an open source project that has this feature etc).
chat and inbox are two faces of the same Facebook backend ...so i mean you can read message sent by your Facebook friends by Graph Api http GET as this ... https://graph.facebook.com/me/inbox?access_token=xxxxxx
I have a website where we use the request dialog to allow users to invite their friends to check us out. From the inviters side everything works as expected. The person being invited does get the notification, but it is immediately deleted. So they would see the red 1 over the globe for only a half a second, but it immediately dissapears and the message does not stay in their list of notifications. They do get the invite in the apps and games section. This used to work, but for some reason it has stopped. Is this possibly a config thing with the app settings within facebook? Any insight would be appreciated.
SOLVED
A little more detail on this. I created this as a web app in facebook apps. It looks like it also needs to have the App on Facebook setting checked with values added for the canvas url. It works as expected now. Heres a link to what pointed me in the right direction
Notification for facebook app requests not showing up
I am having a strange problem while making app requests. I understand that when an app request is made through my app, it also puts a notification in the top saying so and so has sent a request from this app. Now, while I can successfully make the request, the bookmark count goes up but I do no get a notification at all. Is there something i could be missing? I'm following instructions from this blog post on Facebook developer site - http://developers.facebook.com/blog/post/464/. I am new to Facebook development so if it's something simple, please point me in the right direction.
Thank You.
I've had issues with this in the past but it looks like Facebook have very recently acknowledged this and brought about correcting the issue.
http://developers.facebook.com/blog/post/540/
App to User Requests now display messages
Previously, when apps sent notifications to users (available by posting a request to the apprequests connection of the User Graph object, as documented in Social Channels), the bookmark counters were incremented, but the message included with the notification was not shown. As of this week, if you send an app to user notification, we will also display the notification message in the apps or games dashboards. This provides app developers a more effective way to communicate application-level updates to users. Note that the ticker count is now shown in bookmarks, hovercards and, for games, in the games ticker. As a result of this change, your users may see an increased number of notification messages from your application.
In my iPhone application, I wanted to add the function of signing into Facebook and letting a friend know about the app. I know how to sign in and get the friends list, but I cannot find a good way of inviting a friend. So far, I haven't been able to come up with a way to invite a friend (I don't think one can with the iphone facebook sdk yet) or send a message to the inbox. Is there a way to do either of these? If not are there any better options I haven't thought of? Thank you for any advice.
checkout this tutorial. i used it to get the facebook header files sorted out. Once thats done, everything should be in place for you to send a message easily :
http://www.mobileorchard.com/marketing-in-code-part-2-setting-a-users-status-in-facebook-from-an-iphone-app-a-tutorial/
check out This post.it shows what camn we do with facebook api