Posting to a Facebook (fan) page wall - php

I have a blog (wordpress) and a facebook fan-page for my blog (with more than 1 fan!). I would like to post a message to my FB wall, every time I post something on my blog. Preferrably PHP.
The same question is already asked here, but this question isn’t going anywhere. The question dates from march, but Facebook has updated their API since. The FB documentation gives three different methods for posting to the wall, but I cannot figure out which is the easiest/best one to use.
Does anyone have a link to a full tutorial or a short walktrough how to get this done?
(Currently, I’ve got the Ping.fm app setup, who gets its data from twitterfeed. The drawback is that the links get shortened, and Facebook cannot get the first picture and full title.)

API posting to a Facebook Fanpage (not sure if it is to wall specifically) success claimed (and explained in reasonable detail) over on this comment:
http://getsatisfaction.com/pingfm/topics/posting_updates_to_facebook_fan_pages_api_supports_it#reply_1038558

Why not use the standard "Imported Sites" feature that reads your blog's RSS feed? Get to it from Wall -> Options (below share box) -> Settings -> Blog/RSS under Imported Sites.
See http://www.tech-recipes.com/rx/2885/facebook_import_blogs_rss_feeds_without_third_party_applications/ for more information.

Related

sync Facebook Post Likes and Post in Website Likes

I Apologise if I´m repeating a topic. I know this question is asked before but there is no clear answer about the solution. I´m looking to unify Facebook post likes and Website post url (related to that Facebook post) likes. There´s a way to do this?
Perhaps a library, code, book, tutorial, something.
Thanks!
I was trying to do the same thing https://stackoverflow.com/questions/29615717/facebook-graph-api-like-share-comment-relative-to-object-instead-of-url turns out that you can't currently refer to the facebook post this way. You can refer to the page/user or the attachments in the post but you cannot refer to the post itself.I submitted a bug report on facebook developer page

Getting users news feed from Facebook

In my portal, I have added user login and getting user profile information from facebook.
My next target is to get the news feeds which appear on the home page of user. I refered to this question but the accepted answer said it is not possible. Is it really not possible or there is a way to do it in present fb api?
The accepted answer at How to get user's news feed via graph api was over a year ago, whereas the other answer is 5 months ago. As documented at https://developers.facebook.com/docs/reference/api/user/#home , the usage https://graph.facebook.com/me/home works, which I tested in the API Graph Explorer Tool and it worked. Let me know if it works for you :)

How to post invitation on friend's wall after Facebook breaking change on Feb 6 2013?

Firstly, I actually spent a lot of time to search for the answer but I still cannot find a proper solution, so I decided to post a question here, hopefully some one can provide me at least ... some hints.
My problem is:
According to Facebook road map, There's a change in "Removing ability to post to friends walls via Graph API ", this affects an inviter project which I'm currently working on for my company. Now, I cannot post invitation on friend's wall, this will make our app completely useless.
I tried to figure out 2 solutions as below:
Using Facebook Graph API to post a feed on my wall and tag the friend that I want to invite on that feed. This solution works fine but it will post thousand of feeds on wall and it is not good.
Using Facebook Chat XMPP I sill cannot manage to make it work. But by using this, there's a high change that our application can be banned by Facebook because of spamming.
My question is: Besides 2 solutions above, is there any better way to post invitation on friend's wall?
If there's no other solution, can anyone tell me how to post a feed that is hidden from timeline using GraphAPI? (For timeline not be polluted by invitation feed)
Now, I cannot post invitation on friend's wall, this will make our app completely useless.
Maybe you were not supposed to “spam” walls for the purpose of inviting people in the first place … and that loophole is being closed now.
Requests/Invites are the mechanism you’re supposed to be using for stuff like this: https://developers.facebook.com/docs/requests/

Links published to my page wall with graph do not show up in user feeds

I have a php script that posts links to my facebook page wall using the php sdk that works fantastic except for one minor annoyance. When my links are posted programatically via the api they do not appear in the feeds of people who like the page. When the links are posted manually they show up. My question is: is there any special considerations I need to take into account to make those automatic posts show up or is this just how facebook's algorithm works when choosing content for the feed? I suspect this is more of policy issue than a technical one but facebook has been changing things around so I don't want to jump to conclusions. Any insight would be appreciated.
So I discovered that facebook intentionally penalizes you for auto-posting through the api. Read here: http://sproutsocial.com/insights/2011/04/facebook-penalizes-you-for-automating-your-page-updates/
Bastards. Oh well. Question answered.
Try using the latest version of the API. Maybe they've resolved a previous bug.

Facebook share - posts not appear at recent posts

I've got some messy thing with Facebook "Share this" module.
Some time ago Share button stopped working properly. When someone clicks Share this, link with content appear at his wall, but people can't see this action in recent posts, they need to open his/her wall to see this. What happened with Facebook? Anyone know?
It is probably determined to be low quality by Facebook algorithms and thus not showing in the recent feed. If this is published via an application, check the insights on your application.

Categories