简体   繁体   English

Facebook SDK 3.22(android)-不使用messager发送消息

[英]Facebook SDK 3.22 (android) - Send message without using messager

I want my app to send private messages to user's friend. 我希望我的应用将私人消息发送给用户的朋友。 So I've read the official facebook tutorial but I found only examples of sending with the help of the messeger. 因此,我已阅读了官方的Facebook教程,但仅发现在Messenger的帮助下进行发送的示例。 So I asked myself: "And if the user hasn't got Messager installed? There is no way for him?". 所以我问自己:“并且用户是否未安装Messager?他没有办法吗?”。 Maybe I should use Intent with SEND_ACTION (I saw this constraction somewhere). 也许我应该将Intent与SEND_ACTION一起使用(我在某处看到了这种约束)。

So the question: "Is there a way of sending messages without the help of the Messager?" 那么问题来了:“是否有一种无需Messager来发送消息的方法?” and if there is, could you plese post the example or the link. 如果有的话,您能否请张贴示例或链接。

Thanks in advance 提前致谢

The only ways to send a message to another user are the Send Dialog and the Message Dialog . 向其他用户发送消息的唯一方法是“ 发送对话框”和“ 消息对话框”

If they don´t work without the installed Messenger, there is no other way. 如果没有安装Messenger,它们将无法工作,则没有其他方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM