Facebook与自定义消息共享 [英] Facebook share with custom message
问题描述
项目网站上有一个测验,您可以回答一些问题并根据答案得到结果。结果不时有所不同,但客户要求,结果(自定义消息)应该能够在Facebook上共享。
There's a quiz on project site where you answer some questions and based on answers get a result. The result differs from time to time, but client demands, that the result (custom message) should be able to be shared on facebook.
我想要做的就是共享用自定义信息来测验的网址,例如:'我在历史测验的10个问题中回答了6个问题,你呢?',但是是的,像按钮没有这样做,分享按钮有点死了,并且有不知道其他解决方案。
All I want to do is share the url to the quiz with a custom message, ie: 'I answered 6 out of 10 questions in quiz about History, what about you?', but yes, Like button doesn't do it, share button is kind of dead and have no idea about other solutions.
我怎么能做到这一点?
非常感谢!
认真......没有办法执行这么简单的任务?
Seriously... There is no way to perform such a simple task?
推荐答案
将用户引导至此链接以获取类似于分享者的对话框:
Direct users to this link to get a sharer-like dialog:
http://www.facebook.com/dialog/feed?
app_id=123050457758183&
link=http://developers.facebook.com/docs/reference/dialogs/&
picture=http://fbrell.com/f8.jpg&
name=Facebook%20Dialogs&
caption=Reference%20Documentation&
description=Dialogs%20provide%20a%20simple,%20consistent%20interface%20for%20applications%20to%20interact%20with%20users.&
message=Facebook%20Dialogs%20are%20so%20easy!&
redirect_uri=http://www.example.com/response
这篇关于Facebook与自定义消息共享的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!