I've seen a lot of questions on here asking how to publish to a Facebook fan page, but not how to publish from a Facebook fan page to an external site.
I'm admin of a fan page and would like to make updates for my audience from Facebook. These updates I'd like to appear on my website as well. Does anybody know of a way to do this?
You can pull feed messages in json format like so:
http://graph.facebook.com/17227611925/feed
Substitute 17227611925 with the id of your page.
You'd have to find/write a bit of code to do this. Do you already have some sort of server-side programming environment set up?
Related
I have Facebook comments social plugin integrated into my website. I was wondering if there is any way that user comments posted on my website would show up on out fan page as well? Something like User XYZ has commented on article ABC?
Sounds like custom functionality to me.
https://developers.facebook.com/docs/reference/plugins/comments/
How do I know when someone comments on my site?
You can subscribe to the 'comment.create' and 'comment.remove' events through FB.Event.subscribe.
And that process is here:
https://developers.facebook.com/docs/reference/javascript/FB.Event.subscribe/
Create an app publish an action, on behalf of the page (NOT the user). But here's the kicker: if they don't have control over the privacy of it, you probably shouldn't use their name on your page wall, at least not their full name.
I was wonder if this would be possible and how to do it. I have a personal website. I wanted to have it so that in order for the visitor to gain access to a specific page,the website checks to see if that visitor is a fan of our page on facebook. If they are not, they must become one to advance to the page content on my website. I thought perhaps there is a code that would do this? Maybe some kind of token/cookie combo? Any help would be great. Iv been searching for a solution to this. The page on my personal site gets a lot of traffic so I want to require all visitors to that page to become a facebook fan and the site verifies this before letting them into the page.
Outside of Facebook you can only check if a user likes your page if you have the user login to your site first.
So you’d need to set up an app, have the user login, ask for their permission to read their likes, read the info if they like your particular page – and then either let them see the content, or present them with a like button.
How it’s done in detail is all in the docs – so please have a look around there if you think it’s worth the cost.
I need a wordpress plugin to automatically post every article to a facebook fan page I own.
==old question==
In my wordpress blog I'd like a "subscribe with facebook" button that lets a user subscribe to my posts, so that they appear on their profile on facebook (something like an RSS subscription..)
Is there anything like this? How could I do something similar in wordpress easily?
Maybe we could find a way to automatically post new articles to a facebook fan page, and then users could easily subscribe to that fan page. Is it possible?
All of what you describe is technically possible, although you do run a risk of running afoul of Facebook Platform Policy violations which will get your app shut down by Facebook.
The approach of posting to a fan page is much safer from a policy perspective.
I recommend a close reading of the Platform Policies section IV at https://developers.facebook.com/policy/
To post to the wall you will need the offline_access and publish_stream extended permissions.
I do not know if there is a WordPress plugin for this already or if you need to whip one up yourself.
You ask if there is anything like this, and RSS Graffiti seems to be what you are looking for.
If you want to roll your own, you can write to your Page feed using the Graph API. It is more work than it seems at first though, as you have to keep the oauth token updated (it can change even if it is long lasting, for example when you change your Facebook password), take care of getting correct permissions etc.
Ok so i have gotten to the point where for my admins I can log them in, post to their fan pages, post comments and everything works well.
I have done this with the javascript api.
Now I am t the point where I want pull things like the feed from their fan page wall to display to site viewers. Obviously I dont want the average site viewer to have to log in to see the feed from the fan page. I just want to display it on my web page.
Is this possible to do with no authentication?
thanks
It is most definitely possible. Take a look at at this example.
I have a webpage, and facebook page. I would like to have a "like" button that wouldn´t like the facebook page but the last post I made on the facebook page. Is this possible?
Greetings
sorry but having an external like button pointing to a single facebook content is not possible at the moment. Although there are codes in the Graph API: Publishing documentation that relate to this.
Using the said code can make users (who authorized you app) like a content, just like what you are asking for, but I've tried this before and it says that the application needs to be white-listed. I've researched more into this matter and a few more people experienced this as well.
More references:
www.insidefacebook.com/2010/10/08/causes-whitelisted-like-pages-2/
bugs.developers.facebook.net/show_bug.cgi?id=10714