I have developed a Wordpress site that is hosted on the client's server. The client does not want to enable SSL on the server, but wants to be able to auto post from WP to an existing FB page. Is this possible? I know there are a couple of awesome plugins but they all require a FB App to be created. The client does not want to do this, they want to use their existing FB page. Me thinks I might be in for some extra coding.
There are a number of APIs available to work with pages:
https://developers.facebook.com/docs/reference/api/page/
I'm not sure exactly what you're looking to do from WP, but there might be a way to do that through the Page API. Note that working with pages requires you to have a page access_token, which you will need to set up.
You can set their facebook page up with this plugin: https://www.facebook.com/networkedblogs. It will allow for blog posts to be automatically posted on a facebook page.
Related
I own a blog like website, and as part of promotions I have a corresponding facebook page. My website contents are dynamic & when it gets updated(through a bot), I want the facebook page also to be updated by an automated post/publish from the bot which shows up the updates to the page viewers.
I could create a facebook page, and my bot programme which updates the web content is also able to publish the content on my facebook page using graph apis. But the posts are not publicly visible(Visible to only me/admin).
I could learn that it could be because my app through which my bot program is publishing to my facebook page is not public.
App->Status & Review, Status (Tab)
(Do you want to make this app and all its live features available to the general public?).
To make the app public, there is a review process which checks the facebook login button used in the website but my posts are through a backend bot and not through user action. My website is like a blog without user authentication so can't think of adding a login there.
Is it possible without having user login on the page? Also, If I post using twitter apis and link/configure my twitter account to my facebook page, it works.I guess this is not a new problem and many brands have automated it already, so need to understand how.
Am I missing something?
Apologies: I have checked previous posts on the same topic, but couldn't find relevant answers for the current Facebook version & policies.
Without the Login Review process, your posts can not be visible to the public.
To get it working, just send your page management tool (with the login dialog) for the review. Once they review it and accepted, you may change the flow a bit eg: skip the login part and allow auto posting.
On my facebook page I have reviews, I am wondering if its possible to have this review box on my page, on my website, similar to the activity feed plugin.
I know there is not a plugin for this, but I think it would be good for my customers to make a review of my pub on my website and for it to post to facebook reviews
Bad news, page ratings can't be posted through facebook API, you can only do GET requests. So the only thing you could create on your website is a livefeed of your page ratings, if a user wants to rate your page you will have to redirect him to your facebook page.
I don't know the existence of any plugin that does that for you. But you could create your own, you just need to create a Facebook APP, you could do that easily going to https://developers.facebook.com/ and register yourself as a developer.
Since I don't know what's the language you intend to use, I'm going to post a PHP example, even if that's not the language that you are using, the logic is the same, you just need to use the SDK, in this case I'm using the official PHP SDK, for this script to work you must be admin of the page you want to query the ratings.
Also notice that I'm not posting the entire code here, I'm assuming that you have some experience, if that's not the case, don't panic, it's pretty simple to learn the basics of Facebook APPS.
You will also need to ask for the manage_pages scope, more info on other scopes here:
//get user accounts
$pages = $this->facebook->api('/me/accounts');//this gets the pages where you are the admin
foreach ($pages['data'] as $page) {
if($page['id']==PAGE_ID_YOU_WANT){
//the user is admin of the page you want
$page_access_token = $page['access_token'];
$page_ratings = $facebook->api('/PAGE_ID_YOU_WANT/ratings', 'GET', array('access_token' => $page_access_token));
var_dump($page_ratings);
}
}
I assume you are referring to page ratings/reviews for Local Business pages. Each rating information are accessible via /{page_id}/ratings as documented here.
You just need to obtain your page's access token and access the endpoint above.
Since you already have reviews on pages, your page is appropriately categorized as one, but for those who have similar problems I post how to modify page settings to have ratings and reviews.
EDIT: Sorry, you were looking for some plugin module just like activity feed. As you can see on the Social Plugins document, they don't provide ratings/reviews plugin. And if you try to implement this yourself, you need to access the endpoint as I introduced.
We are working on a CMS application development. In that case, we need to integrate a feature, that is enabled for user to create a facebook fan page in an automated way for their product/service. But we realized that it's not allowed by any of facebook developer APIs.
So, What we just need is to automation of fan page creation part in a programmatic way. Is that possible to do??
Thanks!
You cannot create a new Facebook Page via the API - for example, if your client had a company called SomeCompany, they could not use your app to generate a Product/Service Page at www.facebook.com/SomeCompany for users to Like. Your alternatives are:
1) Use your app to generate Open Graph tags and Like buttons for the company's web site (external to Facebook).
2) Instruct the client on how to create a page manually by visiting Facebook.com while logged into their Facebook account.
3) Request the manage_pages permission from your client in your app, and use the Marketing API to edit the page after the client has created it. You can edit most fields on the page (even things like the profile picture) once the page exists. For more information, see here: https://developers.facebook.com/docs/reference/api/page/
I have one app that I've managed to install to several of my Community pages (not people pages). One of them I did quite awhile ago and it has all the proper permissions so that the app can post to the community page wall via the php sdk. I need the same functionality for my other community pages.
Links I've found so far such as:
https://graph.facebook.com/oauth/authorize?client_id=APPID&redirect_uri=REDIRECTURL&scope=publish_stream
have just given me the error:
You are using Facebook as CommunityWallName
To access this page, you'll need to switch from using Facebook as your page to using Facebook as yourself.
and will allow me to personally accept the permissions but will not apply it to any of my community pages.
You need to request the manage_pages permission.
See here for more details:
https://developers.facebook.com/docs/authentication/permissions/#page_perms
My aim is to make a facebook fanpage for a client who wants his blogposts to automatically show up on his fanpage.
I've already read several posts here in the forums. I've tried several methods to auto-publish wordpress posts to a fanpage in facebook.(notes, ...) The last method I used was making an app and using the "Simple Facebook Connect" plugin for wp.
I got quite confusing with this. I have an app called "myClient" and a fanpage called "myClient". If I publish a blogpost, it automatically shows up on the fanpage but "via myClient". Is there a way on get rid of the facebook app? I don't want to show up the via-sentences because the app is just the connection between wp and fb and has no content at all (the content is on the fanpage)
Hopefully you can help me with that!
Thanks in advance.
Whenever you want to publish something on Facebook, you need a Facebook Application as it's the "trusted" connection between your source and Facebook (this is why you have the App Secret and all the authentication/authorization process..etc).
So, How to auto-publish wordpress post to facebook fanpage without a facebook app?
You can't! But what you can do is changing the App name to something the Client would agree on (and not being "already taken", of course!).
You can use the notes facility available. It is updated when the RSS address you provide updates.
Actually there is a way to get rid of the Facebook App - by using third parties automatic Facebook publishing tools like ZapRobot - in that way you actually lean on someone else's FB API APP. Note that then you give "manage_pages" permission to the third party. The process should be:
1) Register with ZapRobot - this is a Facebook login, you give them posting rights to your page
2) Define a job that posts A LINK (ignore their categories) while the link is pointing to the RECENT wordpress item on your blog
Good luck :-)