0

I referred this link for sending a message through facebook messenger. https://developers.facebook.com/docs/ios/share#message-dialog

Is there any possibilities to get the user name to whom we send? Suppose I login & while sending the message to some XXX is it possible to get the name XXX? I found many tutorials but I didn't find any solutions.

I want to send a message and not notifications.

So I finally understood that there is no such possibilities. Now coming on to request when sending from facebook is it possible to save the user name to whom we send?

Chan
  • 447
  • 1
  • 5
  • 18
  • 1
    `FBMessage Dialog` doesn't provide any information to user, it will open facebook application and control will be transfered to it. Your app can't control over it. :) – Dipen Panchasara Oct 13 '14 at 07:17
  • Is there any other solutions for it? My app is like user has to refer a facebook friend and if the user accepts he/she will get a bonus. In this situation I need to get the sender's name. – Chan Oct 13 '14 at 07:20
  • 1
    that´s not allowed anyway. don´t incentivize sending a message for a bonus. you can only do this with an app request > giving the inviter a bonus when the receiver accepts the invitation. – andyrandy Oct 13 '14 at 07:36
  • so while sending the request can we able to save the sender's name or ID?? – Chan Oct 13 '14 at 07:51
  • 1
    You will be able to get that info when the receiving user accepts the request. – CBroe Oct 13 '14 at 12:42
  • @CBroe can you guide me? Is there any samples available? – Chan Oct 13 '14 at 13:00
  • https://developers.facebook.com/docs/games/requests/v2.1 / Be aware that your app needs to have a canvas presence and be in “Games” category, otherwise you can not use requests. – CBroe Oct 13 '14 at 13:01

0 Answers0