Facebook Application Notifier in Newsfeed - facebook

Does anyone know how these kind of functionality can be implemented?
How can we get PlayNow kind of link ( I want to add my own custom link at that place)
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).

That is an aggregation that facebook is making for a specific type of applications: Games.
You can set your app as a Game in the app settings, first tab (Basic) first section (Basic Info) in the Category field.
If you do that then facebook should include your "game" when they aggregate this feed story to friends.
If you do that how ever then you can't change the text from "Play Now", as far as I'm aware.
Using the open graph you can define the obejcts which your app uses and the actions users do on them.
Then you can control how the stories produced by your app are aggregated into the timeline of a user.
The official guide is pretty straight forward and have good examples that you can follow to understand how things work.
If you have a more specific question regarding the open graph then ask away.

Related

How to get number of facebook likes from an individual app?

I've done some searching and can't seem to find an answer to this. I'd like to find out how many Facebook likes came from a specific app and not the overall fan page itself.
Set up:
I have a "fan page" for a company that I manage. This company runs promotions from time to time and usually do so through a FB app that is attached to the fan page. These apps vary in type, but usually are just a page tab app hosted on heroku with a like gate.
Obviously, a like on the like gate results in a like for the fan page. Is there any way to find out how many likes came from that specific like gate / page tab app? FB Insights shows "where likes came from" but nothing I've found lists individual apps.
Thanks in advance.
Even though from page_fans_by_like_source_unique you can get a lot of metrics, there isn't currently one to differentiate between tabs.
The approach I'm currently using, is tracking on my app side, saving the information into a database, because both like and unlike events refresh the app iframe, with a new signed_request. The logic is the one described by #dleavitt here
Sources: http://developers.facebook.com/docs/reference/api/insights/#like_sources

facebook: preview News Feed stories created when publishing actions

I'm looking for a simple way to show the user some actions she has generated using my app.
It should look like the recent activity ticker displayed (RecentActivityUnit) in the timeline but only with some certain actions decided by the app and, most important, it should allow to remove the action (so activity feed plugin is not suitable)
First idea is to:
query opengraph to get desidered actions,
get related open graph objects
use facebook internationalization feature for displaying action.
Is it really what facebook does when it builds the activity log (or ) ?
Does anybody know a simpler way to do this ?
Unfortunately, this is the only way to do such a thing. If you know the Action IDs in advanced, you can skip the first step and simply search for the actions you need in Step 2.
Internationalization is only required if your site supports multiple languages. If it's for an app within Facebook, then this is recommended since users could be using your app in other languages.

Application box in Facebook timeline?

I created a Facebook application which occasionally publishes information to the timeline. As I was developing it, I noticed that at some point a box with the title of my application appeared in the timeline (a box similar to the "Friends" or "Activity" boxes). It contained an overview of the last posts published by my application.
Today, I noticed that this box is now gone from the timeline.
Does anybody know how are these boxes created? Is it something that Facebook do automatically? Is it possible to manually (or programmatically) put it back?
Any information on this would be great.
Application box will appear in user's timeline as long as you used Add To Timeline social plugin or requested publish_actions permission from user and published an OpenGraph action.
As long as you have defined aggregations, the box will some and go depends on Facebook's algorithms. Usually, activity us grouped in the Activity (Recent) box on the user's timeline. But sometimes one of the aggregation boxes appear in the timeline too - unfortunately, there is no way to force it to appear all the time.

Facebook Application Activity Aggregator / Notifier in Newsfeed

Does anyone know what this functionality is called and how it can be implemented? I do not have any of these apps added to my Facebook account but every so often I get what's shown in the screenshot in my newsfeed. This is a great way to get click-through's into an application.
UPDATE
A lot of content-delivery sites have this functionality e.g. news sites, and even Pinterest now. See:
The Apps and Games "app" is made by Facebook and has access to functionality not (yet) available to regular 3rd party developers.
The closest thing we can do is aggregation reports: http://developers.facebook.com/docs/opengraph/define-units/
Update
The Pintrest report looks more like what can be done by us mere mortals.
See for example this report from an app that I made:
(source: jocke.syk.se)
Here's what the action settings looks like:

Is there a way to publish stories with links without a user being forced to add the content to the user's timeline?

I'm interested in creating an app on an external website that will publish logged-in user's article reads to their timeline. However, I've noticed that when a story is published to timeline, other users who are not connected with your app, are forced to "Add to Timeline". To me, this defeats the purpose because I want users who are not associated with our brand to discover our content and then add it to the timeline if they are a fan of ours. Is there a way to turn off this setting? or is everyone FORCED to add an app to the timeline before they can see the content?
for instance, when I click on a story posted by the Washington Post on someone's timeline, I get this screen -> http://dl.dropbox.com/u/1169963/timeline.png when I expected it to just bring me straight to the article. Most users are going to abandon the app at this point and never click on a Washington Post article again
and it looks like people are making browser plugins to stop this from happening:
http://techcrunch.com/2011/12/01/frictionless-kills-facebook-social-article-readers-dead/
so, is there a way for developers to prevent this all together?
What do you mean about FORCED ? If i give permissions, after app produces timeline posts, it will combine and show as an application box in my timeline. But before it, i can see my friends timeline apps without installing them. Also same in newsticker in news feed...
For example in my profile http://facebook.com/chaylock , you should see my NIVEA Mega Kutu timeline app without interacting app..