[英]How to send private message/access facebook chat in Koala ,Ruby on Rails
how to use Koala gem to access user chat and send message to the another user? 如何使用Koala gem访问用户聊天并向另一个用户发送消息? Is that Koala has provide this function to use?
Koala是否提供此功能? 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? 有什么建议做我的东西?
For posterity sake, this is possible via the Facebook API. 为了后人,这可以通过Facebook API实现。
POST v2.10/{access_token}/messages
recipient: {
id: {recipient_id}
}
message: {
text: "Hello World"
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.