Opengraph
第27行: | 第27行: | ||
===赞接口(Like API)=== | ===赞接口(Like API)=== | ||
− | + | '''读取接口''' | |
+ | |||
*[[2/interest/like_count|interest/like_count]] 根据URL批量获取对象的总喜欢数 {{Icon_adv}} | *[[2/interest/like_count|interest/like_count]] 根据URL批量获取对象的总喜欢数 {{Icon_adv}} | ||
*[[2/interest/like_exist|interest/like_exist]] 根据URL批量判断某个人是否喜欢过某个对象 {{Icon_adv}} | *[[2/interest/like_exist|interest/like_exist]] 根据URL批量判断某个人是否喜欢过某个对象 {{Icon_adv}} | ||
− | + | ||
+ | '''写入接口''' | ||
+ | |||
*[[2/interest/like|interest/like]] 通过URL喜欢某个对象 {{Icon_adv}} | *[[2/interest/like|interest/like]] 通过URL喜欢某个对象 {{Icon_adv}} | ||
*[[2/interest/unlike|interest/unlike]] 通过URL取消喜欢某个对象 {{Icon_adv}} | *[[2/interest/unlike|interest/unlike]] 通过URL取消喜欢某个对象 {{Icon_adv}} |
2013年8月7日 (三) 15:58的版本
兴趣图谱(Open Graph)
兴趣图谱帮助用户在使用应用时,快捷分享关于兴趣、生活的交互故事。他是一套标准化、结构化的信息传播方法,为开发者提供了将其应用或网站,深入连接到微博的途径。
接入兴趣图谱,开发者将获得2个与微博消息流深入连接的能力特性:
- 链接卡片(Link Card)
- 赞动态(Like Action)
链接卡片(Link Card)
链接卡片可以帮助丰富你的微博内容,是针对微博消息流中带有的短链接,为用户提供更多的内容与更完美的视觉体验,从而为你的网站带来更多、更有效的回流访问量。
赞动态(Like Action)
赞是基于兴趣在内容与人之间建立的一个连接。点赞会发布一个建立在兴趣图谱上的赞动态,其内容会显示在这个人及其粉丝的微博消息流上。这些赞动态会链接回你的网站。
赞接口(Like API)
读取接口
- interest/like_count 根据URL批量获取对象的总喜欢数
- interest/like_exist 根据URL批量判断某个人是否喜欢过某个对象
写入接口
- interest/like 通过URL喜欢某个对象
- interest/unlike 通过URL取消喜欢某个对象