Facebook应用程序通知程序在Newsfeed [英] Facebook Application Notifier in Newsfeed

查看:124
本文介绍了Facebook应用程序通知程序在Newsfeed的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人知道如何实现这些功能?




  1. 我们如何获得PlayNow的链接(我想在那个地方添加自己的自定义链接)


  2. 如何在这种聚合上获取用户图像。



解决方案

据我所知,这是Facebook无法控制的自定义实现。 Facebook为某些流行的动作(例如玩游戏,阅读新闻或观看视频)提供新闻源的自定义聚合。正如您在发布的聚合中可以看到的,每个应用程序是不同的。



当某些用户使用您的应用程序读取新闻时,Facebook选择显示聚合X和y更多的朋友最近阅读文章这些用户的朋友的新闻Feed,您的应用程序可能进入该聚合。 read now按钮是自己的,因为Facebook了解你的对象是什么。



您可以控制的聚合是仅由您的应用程序组成的集合,而您可以在开发人员网站上的应用程序的打开图表面板中进行。只需要进行聚合,并将其设计为您的选择。这是我为自己实现的:



这是用户的主页Feed的外观。可以根据您的要求设置分享您的Dil Chahta hain ...的两个文字。



其次,您可以在用户的​​时间轴上控制自己的应用程序的聚合。这是我的应用程序的聚合在用户的时间轴上看起来。请注意,目前,只有两个聚合显示给用户,而不是3显示在我的图像(在批准阶段之前)。


Does anyone know how these kind of functionality can be implemented?

  1. How can we get PlayNow kind of link ( I want to add my own custom link at that place)

  2. How to get user images on this kind of aggregation.

解决方案

As far as I can tell, this is a custom implementation from Facebook that you cannot control. Facebook provides custom aggregation on the newsfeed for certain popular actions, such as playing games, reading news or watching videos. As you can see in the aggregation you have posted, each app is different.

When a certain set of users read news using your app, and Facebook chooses to display an aggregation of "X and y more friends recently read articles" on those users' friends' news feeds, your app might come in that aggregation. The "read now" button comes on its own, since Facebook understands what your object is.

The aggregations you can control are those that consist of only your app, and you can do that in the Open Graph panel for your app on the Developer site. Just go into aggregations and design it to your choice. This is how I implemented it for myself:

This is how it would look like in a user's Home Feed. The text, "Share your twocents about Dil Chahta hain..." can be set up according to your requirements.

Secondly, you can control the aggregation for your own app on a user's timeline. This is how my app's aggregation looks on a user's timeline. Do note that currently, only two aggregations are shown for a user, instead of 3 as is displayed in my image (which was taken prior to the approval stage).

这篇关于Facebook应用程序通知程序在Newsfeed的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆