Summary of research on customizing app-request notification on Facebook

I was trying to customize the message displayed in the notification received by a user (User A) when another user (User B) send a app request to him/her.

Currently the message is fixed, it says

${APPNAME}: USERB sent you a request in $APPNAME

For example, our app currently says SocialCalendar:Yunming Zhang sent you a request in SocialCalendar.

The goal is to customize the message to something more like “Yunming Zhang invited you to try SocialCalendar” ( apps like Everest displays display the desired message in their app request notification).

Several posts claim that an undocumented parameter “new_style_message” in javascript API can send a more customized message as documented here

http://stackoverflow.com/questions/6297853/facebook-requests-dialog-not-showing-message-to-recepient

http://stackoverflow.com/questions/9945199/how-to-customize-message-in-a-facebook-app-request/16805408#16805408

http://stackoverflow.com/questions/13162523/change-facebook-notification-message/13163260#13163260

I have tried to set the params in Facebook IOS SDK FBWebDialog, using code snippets like the following

params[@”new_style_message”] = @”TRUE”;

So far, it didn’t work. It is possible that if we switch to FB.ui {} API, we could enable customization of the message in notification.

Advertisements
This entry was posted in Facebook API. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s