如何操作 Jo Blow 正在查看“XYZ” mysite.com Facebook 上有更新吗?
我需要什么才能将自动活动更新集成到用户的 Facebook 状态?
我经常在 Spotify 上看到诸如“Joe Shmoe”正在听 Carolina Chocolate D... 的 Cornbread And Butter... 之类的内容,
我想知道如何整合此功能。
我的假设:
我想用户必须“同意”这一点。 用户必须使用 Facebook 身份验证登录,还是亲自登录? 页面加载时会运行某种服务器端脚本,或者这是一个 ajax JS 库。 facebook 是否为此提供某种 api 或 JS 库?
我还使用 Ruby on Rails,所以请让我知道是否有一个 gem 可以促进这一点。
任何信息表示赞赏。
What is required for me to integrate automatic activity updates on a user's facebook status?
I frequently see things like "Joe Shmoe" is listening to Cornbread And Butter... by Carolina Chocolate D... on Spotify
I'd like to know what it takes to integrate this.
My suppositions:
I imagine the user has to "agree" to this.
The user has to either sign in with Facebook auth, or be signed in?
There is some kind of server-side script that runs when a page loads, or is this an ajax JS library.
Does facebook offer some kind of api for this or JS library for this?
Also I work with Ruby on Rails, so please let me know if there's a gem that facilitates this.
Any info appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能应该从这里开始:https://developers.facebook.com/docs/beta/
这是新的开放图谱功能的文档,其中包括结构化数据的低摩擦发布
You should probably start here: https://developers.facebook.com/docs/beta/
This is the documentation for the new Open Graph features which include low friction publishing of structured data