链接社交网站上预先填写的消息
我编写了一个简单的工具,可以让用户跟踪一些东西(为了简单起见,假设他们每天都输入体重)。在整个网站中,我想添加社交网站的链接,用户可以在其中共享该信息。示例:用户成功添加新记录后,我想向他显示链接,单击这些链接会将他重定向到 Twitter、Facebook 和类似网站,并带有预先填充的消息:“我今天的体重是 XX 公斤”。在图表页面上,我会显示包含不同字符串的链接(“查看我的每日体重图表”)。
我尝试过 http://www.addthis.com,但它只提供 Twitter 的预填充消息。
我真的不想花 X 天阅读每个主要社交网站的 API...你们能提出一个解决方案吗?要么是带有链接规范的资源,要么是一些第三方应用程序(我会查看代码),要么是一些网络服务,例如 addthis.com...
I've written a simple tool that lets users keep track of some stuff (to make it simple, lets say they're entering their weight every day). Throughout the site, I want to add links to social sites, where user could share that info. Example: after user successfully adds a new record, I'd like to show him links that when clicked would redirect him to twitter, facebook and similar sites with a pre-filled message: "my weight today is XX kg". On the graph page, I'd show links that would contain a different string ("see my daily weight graph").
I tried at http://www.addthis.com, but it only offers pre-filled messages for twitter.
I don't really want to spend X days reading APIs for every major social website out there... can you guys suggest a solution? Either a resource with specs of links, some 3-rd party app (I'd look at the code), or some web service like addthis.com...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对于推特:
http://twitter.com/home?status=My+体重+今天+是+XX+公斤
另请查看 http://tweetmeme.com/
对于 Facebook:
http://www.facebook.com/connect/prompt_feed.php?&message=My+weight+today+is+XX+kg" facebook.com/connect/prompt_feed.php?&message=我的+体重+今天+is+XX+kg
For Twitter:
http://twitter.com/home?status=My+weight+today+is+XX+kg
Also have a look at http://tweetmeme.com/
For Facebook:
http://www.facebook.com/connect/prompt_feed.php?&message=My+weight+today+is+XX+kg