3

how to use Koala gem to access user chat and send message to the another user? Is that Koala has provide this function to use? i did check the documentation about koala ,but seems like dont have it,or it do have any alternative way to do it?

Any suggestion to do my stuff?

Nicholas Ng
  • 143
  • 2
  • 11

2 Answers2

0

I guess it's not possible. Although the Facebook API documentation does not say that it cannot be done. But I don't see a way to get this done.

Maybe you can try this.

j0k
  • 22,600
  • 28
  • 79
  • 90
sudhanshu
  • 462
  • 5
  • 17
0

For posterity sake, this is possible via the Facebook API.

POST v2.10/{access_token}/messages

recipient: {
    id: {recipient_id}
}
message: {
    text: "Hello World"
}
Maxwell
  • 6,532
  • 4
  • 37
  • 55