Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在过去的几天里,我一直在使用 Facebook Android SDK,虽然我已经能够在墙上发帖,但有一件事仍然让我感到困惑:如何用我的应用程序中的信息填充墙上的帖子对话框?
例如,假设您有一个记录远足距离的应用程序。当我启动 stream.publish 对话框时,我想要“你在想什么?”下的文本区域。说诸如“[用户]徒步[距离]英里”之类的话,而不是空白。
我查看了 SDK 中包含的两个示例,但都没有解决这个问题。有没有办法做到这一点?
提前致谢!
我假设您发布了一个附件,例如-parameters.putString("attachment", publishingAttachment())
parameters.putString("attachment", publishingAttachment())
要添加消息,只需添加以下行 -parameters.putString("message", messageString);
parameters.putString("message", messageString);