我喜欢在我的应用程序下面的一些代码:有没有办法将@mention插入到使用pyfacebook发布的Facebook状态更新中?
message = "Hi, @John Doe!"
postID = fb.stream.publish(
message = loader.render_to_string('wall_post.phtml', {'message':message}),
action_links = simplejson.dumps([{'text': "Check out blah", 'href': "http://blah.dev"}]),
target_id = 'nf'
)
有什么办法来表示消息字符串中的Facebook @mention使Facebook的将其转换为一个配置文件链接的用户提到?
有没有人发现了如何做到这一点? – Jayrox 2010-03-03 19:28:34