[英]is it possible to send message to specific user on facebook messenger in android
i've to implement the scenario described below 我必须实现下面描述的方案
for example 例如
app allows users to login through facebook in app.
app允许用户通过app中的facebook登录。 now in app i want to select any register user(from all users) and send message directly from app to that specific person in facebook messenger automatically.
现在在应用程序中,我想选择任何注册用户(从所有用户中)并自动将消息直接从应用程序发送到Facebook Messenger中的特定人。 without going into messenger app
无需进入Messenger应用
is it possible in android or not ? 是否有可能在android中?
if it is possible then please guide me how can i implement this. 如果有可能,那么请指导我如何实现这一目标。 ?
?
thanks 谢谢
You can't pass a specific message that is not allowed by Facebook Platform Policy and privacy. 您无法传递Facebook平台政策和隐私不允许的特定消息。 But you can pass uri to the intent like
Uri uri = Uri.parse("fb-messenger://user/user_id");
但是您可以将uri传递给意图,例如
Uri uri = Uri.parse("fb-messenger://user/user_id");
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.