简体   繁体   English

通过Fb Messenger发送消息

[英]Send message via Fb Messenger

How to use properly Facebook SDK to send text message with Messenger? 如何正确使用Facebook SDK通过Messenger发送短信? I found similar question but there aren't any answer Android. 我发现了类似的问题,但Android没有任何答案 Send text to facebook messenger by Facebook SDK 4.X Also I read Messenger documentation https://developers.facebook.com/docs/messenger/android but there I coundn't find the answer. 通过Facebook SDK 4.X将文本发送至facebook Messenger。我也阅读了Messenger文档https://developers.facebook.com/docs/messenger/android,但在此找不到答案。

The second link you supplied makes clear there are only a limited number of supported mime types, the first link also illustrates there is no support for text/plain. 您提供的第二个链接清楚地表明,受支持的mime类型数量有限,第一个链接还说明了不支持文本/纯文本。

The SDK is for sharing alternative content on messenger, it's not for allowing creation of new messenger clients or bots SDK用于在Messenger上共享替代内容,而不用于允许创建新的Messenger客户端或漫游器

So the TL;DR is: You cannot send text messages 因此,TL; DR为:您无法发送短信

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

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