I'm sorry for the cross posting, but it seems that I posted question to the general stackoverflow (not to facebook one).
(API call to Delete from facebook news feed)
Could you please help?
When the user (let it be Arnold) posts some link to his friend's wall (to Chuck) via my app, the FB also makes a post in a Chuck's news feed (with the same link). The question is - is there any FB API ability to delete the message from the Chuck's news feed?
Once the Chuck clicks the link posted by Arnold on Chucks wall, the same link on the news feed becomes no longer valid. So I need to drop the news feed post (but not the wall post) as link is disposable, but in the news feed looks like "new".
In the FB documents (http://developers.facebook.com/docs/reference/api/user/) under home section (This connection corresponds to the News Feed) I have not found any mentions about the ability to delete posts from news feed.
However there is an ability to delete a post. And somewhere on forums mentioned an ability to set is_hide=true to the news feed posts.
Dear guys, could you please suggest is there an ability to hide/delete news feed posts? Where I can find documentation about that?
Thanks
You can delete any Facebook Graph object if you have the appropriate permissions using the http delete method (or you can append method=delete to your api call.
e.g:http://www.facebook.com/[user_id]/posts/[post_id]?method=delete&access_token=[access_token]
Related
by calling /me/feed in graph api i can get feed like my posts or posts that i am tagged in.
How can i get a feed with my friends posts or news that i see in my wall in fb?
i mean feed like the one that i see when i login to facebook
i tryed me/feed with several parameters but no luck
same here
https://developers.facebook.com/docs/graph-api/reference no info :(
i didnt manage to find something useful in facebook graph api explorer
thanks!
How can i get a feed with my friends posts or news that i see in my wall in fb?
You can’t.
That used to be available in the very beginning via the /home edge, but that has since been removed.
There is no replacement. Friend’s posts are only available to your app, if the friend would join your app and grant it permission to read their posts.
(Plus, platform policy says apps should not replicate Facebook “core functionality”. If a user wants their news feed, they can go to Facebook ...)
My question is,
if I am the user using an authorized web application, can I post something to my friends' timeline at once, and without any interactions with me?
I've read this topic and other relative posts on stackoverflow, and I understand that facebook had made some changes.
But when I read Feed Dialog document, I find out that it said:
Your application can also publish directly to a profile's timeline without interaction on the part of someone using your app. To accomplish this, use the corresponding Graph API call
while "Graph API call" is an unavailable link. And I can't figure out what the corresponding graph api call is.
You cannot Post to User's Friends timelines through the Graph API, as simple as that. You can only Post to the authorized User's wall through the Graph API.
The only way to achieve the similar functionality, as the blog post that you have checked suggests is,
If you want to allow people to post to their friend’s timeline from your app, you can invoke the feed dialog. Stories that include friends via user mentions tagging or action tagging will show up on the friend’s timeline (assuming the friend approves the tag).
I have a wordpress blog. Is it possible to publish a link to facebook so that the published link on my facebook business page has the same like counter as the one on the blog?
Also, can the comments section be the same? (i.e. if I post the link on facebook, when someone comments, it automatically updates the comments section of the blog post and vice versa?)
This is not possible, each set of likes and comments are independent. There is no way to perform a merge of this data currently.
The Facebook Wordpress plugin provides essentially most of what you can do currently to link Wordpress to the Facebook API http://wordpress.org/extend/plugins/facebook
You can't link the like counter of your posts and pages to your Facebook page, why? They're all separate post and pages. It only makes sense.
What you can do? You can announce your post on Facebook (timeline or business page) and all can comment on it. You can add Facebook comments to your posts and pages. The commenter has the choice of that comment showing up in his Facebook timeline. People can "like" the post announcement, or the post itself if you have the Like button on it. They both act separately because for people to actually like your post, they have to visit the page. For analytics it makes sense because you want to know who is in your Facebook page and who actually clicks to visit your site. Both are not the same, and that's the point.
If you want to actually merge your site with Facebook, it will have to be in the form of a Facebook app. If that's the direction you want to take, I believe you can find some help here on the matter.
Facebook comments plugin - as far as I understand, if I have put the facebook comments plugin on a post web page, and the permalink of the post being commented on matches the base URL, then comments are stored via facebook using my post permalink.
Lets say if I post the permalink onto my facebook page wall (which I am the admin of), the open graph tags come into play, all the relavant data is pulled in, fb:admins, fb:app etc.
But is it possible to connect my facebook page (using my facebook page ID) to that permalink - so that comments posted on the page using comment plugin, connect/link with the post comments on my facebook page wall?
Thanks
This is currently not possible. We've implemented custom solution using Facebook Application and Facebook Javascript SDK on the website itself. You need to query the comments table of a specific Page post via FQL using your app access token from your server to retrieve all comments and render them on the page.
Then you need to provide user with several entry points for several states in order to enable posting for them. You need to solve four cases:
User doesn't like the page and didn't authorize your app
User doesn't like the page and authorized your app
User likes the page and didn't authorize your app
User likes the page and authorized your app
User needs to like your page and authorize your app with publish_stream permission in order to be able to comment on your page posts via your website. Of course you need to maintain reference between posts on your page and posts on your website.
The website where we did this a few years ago is BIGGBOSS click on "Komentáře" and find the same post on Facebook with the same comments.
As far as I understand your question its not possible to connect the comments from the commentbox, integrated in your non-facebook page (e.g a blog of yours), to the comments which are posted to a post on your fanpage.
The only solution would be to build an custom commentbox with the open-graph and publish the comments to the fanpagepost and additionally extract the comments out of the fanpage to display them on your blog.
But this requires accepting permission dialog before people are able to comment on your blog which would probably decrease the comments made. You would lose the benefit of the built-in commentbox.
I would like my Facebook app to post personalized updates to users on their feeds, without posting on their walls.
Per the facebook documentation http://developers.facebook.com/docs/reference/api/user/ the feed IS the wall.
feed The user's wall.
So the answer is "No".
There is actually no way to post something on a "Wall" but "Feed" in Facebook via API. They are practically the same place.
You can create post in feed and Facebook will decide if that post will appear in user's wall according to many aspects that wasn't clearly described (and possibly will never be due to Timeline).
There is also a bit old but interesting article Facebook’s Wall vs. News Feed Explained by Pixel Coaching that you may want to read.