Facebook app custom actions - feed

I created a customer action for an application, it's approved and it's currently working. When the action is posted on Facebook by an user (User A), it appears on the Recent Activity, not on the User A timeline and it's appearing in some users feed.
Why is appearing in the feed of some users and not on the feed of other users?
Why is not appearing on the User A timeline?

Probably too late to help but adding for posterity…
You need to be sure that "fb:explicitly_shared=true" is set for the action. If you don't have this set for your custom action, you may need to get it re-approved.
Note this goes on the action itself, not the corresponding graph object.

Related

Open Graph - how to make published action appear on timeline

I publish actions from by website using the app I created for it on facebook.
My actions have been approved by FB.
when they are published they appear on the activity log.
However they do not appear on the timeline and do not show on the main pages of that user's friends, only under activity log.
How can I make it so the actions are posted to the timeline itself and all the user's friends would see it on the main page?
Thank you
What you want is Explicit Sharing. Just Open Graph by itself doesn't guarantee your content will be pushed into News Feed and/or Timeline.
Explicitly_shared on its own does not always seem to be effective.
I have experienced this myself (and still do), where although the "explicitly_shared" attribute is set to "true", the post does not show up on timeline.
On checking the activilty log, is is marked as "allowed on timeline" but not "shown on timeline", which seems to need to be set manually and results in the correct post. I presume there is a way to force this, but I have not yet found it!
(the app is approved and live, with publish_actions enabled)

Tracking user activities on facebook

I've created a Facebook page and implemented an application for it too. Now, my aim is that, a user must like and share page with at least one friend to be able to participate/to get access to the app and consequently use it (play the game). Or simply force a user to like and share the page. Can you please tell me if this is even possible and how it can be achieved?
When user visits your Facebook page, you receive signed_request , which contains some information about the user, including whether or not the user liked your page. For share, you will probably need to implement send dialog. In documentation it is said that user takes action (send or cancel) he will be redirected to url you set up, and if the action was "cancel", there will be an error.
So you will probably need to create db where you store user id and whether or not he shared your page before (since you can check if he liked the page at any time).

Facebook Open Graph not showing on timeline

I'm using FB Open Graph in my application. It's not fully working. When I post a object it appears in the user's recent activity; however, it doesn't appear on their timeline. The metadata has no errors and I'm using the FBGraph gem but it also doesn't work when I do it using curl. Any advise to fix this?
Have you tried to use 'fb:explicitly_shared=true' in your URL. Refer: https://developers.facebook.com/docs/technical-guides/opengraph/explicit-sharing/
When you are in development mode, and your actions have not yet been approved by Facebook, the posted actions are only visible to you and to others with developer, admin or tester privileges for your FB app.
See: Facebook action submission
Also, open graph actions will no longer appear in users' news feeds or even the Ticker: http://developers.facebook.com/bugs/398546930211799/. So you shouldn't expect activities performed in your app to appear in users' timelines, unless these activities are tagged as 'explicitly shared', and even then there's no guarantee they'll show up.
Only direct, active shares are more or less guaranteed to show up in the Timeline.
Did you submit your action to get approved by facebook? If you did not do this, it will only work on your facebook account.
Also, are you sure you request the correct permission when the user authenticates, such as 'publish_stream'?

How to allow users to turn add to timeline posts on/off?

I am building an app that uses the Add to Timeline functionality to post to a users wall. However, now I want to allow the user to decide if they want to post to their wall or not; essentially an on/off add-to-timeline toggle. Any ideas?
For example, if they are reading a news story - the user can decide if they want to post using add-to-timeline or not. Dailymotion has this when logged in using your facebook account and viewing a video. Right below the video shows a 'Social On' with a preview of what will be posted to your timeline.
Thanks in advance.
Cheers.
Have a look at how social reader apps do this. We worked with all the launch apps do design privacy controls that let you enable/disable posting activity to timeline, or remove a recent specific activity.
Here's more from the Guardian's FAQ's: http://www.guardian.co.uk/help/insideguardian/2011/sep/22/the-guardian-on-facebook-app
And from The Independent: http://www.independent.co.uk/news/media/online/recently-read-on-the-independent-2359683.html
Technically, its a switch within your app which decides if you make the post to FB or not. If you want to allow the user to permenently remove your ability to publish Timeline, you can perform an HTTP DELETE on
https://graph.facebook.com/me/permissions/publish_actions
and the permission will be programmatically revoked.

Stealth Facebook Like Button

Is there a way to control whether or not the Facebook like button publishes the link like to the users Facebook wall? I want to allow the user to subscribe to updates for one some of my pages, without telling the world that they are interested in that content.
No, it is up to the user to decide if they want to publish those stories or not.