如何使用stream.publish在具有@mention功能的Facebook中发布? [英] How to post in Facebook with @mention ability using stream.publish?
问题描述
我想在stream.publish呼叫的消息中包括内联链接的朋友.这是示例pyFacebook代码:
I would like to include inline links friends within the message of a stream.publish call. Here is example pyFacebook code:
代码:
facebook.request_extended_permission("publish_stream")
facebook.stream.publish("@John Doe is cool")
是否可以在消息中包含标记来做到这一点?
Is there a way to include markup in the message to do this?
src: http://forum.developers.facebook.net/viewtopic. php?pid = 339920
推荐答案
大约2年前,Facebook已经提供了一种执行此通知的方法,但不幸的是,该功能尚未纳入流发布方法中.因此,目前尚无法在您通过应用程序撰写的帖子中标记用户的朋友. ::悲伤的长号::嘿
Facebook had included a way to do this notifications, about 2 years ago but unfortunately, the functionality hasn't made it's way into the stream publishing methods. So, for right now, it's not possible to tag a user's friends in a post that you are composing via your application. ::sad trombone:: heh
这篇关于如何使用stream.publish在具有@mention功能的Facebook中发布?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!