Navigation Menu

Skip to content

Facebook Integration

Coding Futures Team edited this page Oct 18, 2013 · 1 revision

Warning

You must have an SSL certificate installed on your domain for Facebook to work. The SSL certificate must be domain specific, shared SSL certificates are not suitable. For more details see Your Members and SSL certificates

What does it do?

Your Members Facebook Integration takes your WordPress site and its content and makes it available inside Facebook and brings the power of Facebook to your site.

Note: Your Members Facebook Integration Requires Your Members Version 10 and upwards.

Where is Content available

Facebook provides two main integration points.

As an application using the full available page width or inside an existing Facebook (Fan) Page at a lesser page width.

The Your Members Facebook Integration seamlessly transitions between widths as needed, and you have control over where to route people, either to a page or to an application page.

Setting Up

After first installing and activating the plugin, navigate to the Facebook Tab inside Your Members Admin. And then Facebook -> Application Keys. You should be presented with a screen asking for you Facebook Application ID and Application Secret. You can review existing Application Keys on the Your Apps Page or on the new Apps Page, and if you don't have any keys yet you can create an Application from the Your Apps Page, or use the quick wizard. Both links are available from the Application Keys page inside the Admin Interface.

After populating your keys, you need to pop over to the Canvas and Page Settings tabs. Here you can configure your Facebook Page/Canvas Name and the relevant landing page. So for example instead of users landing on your website inside Facebook landing on the homepage you can direct them to a specific page to begin with.

Finally if you are using the Application integration point you can configure how Facebook controls your sizing. You can have a specific height, or you can use a dynamic height, which can then also be the height of the browser creating a scroll bar next to your App, or you can have the iFrame scale up to full size moving the scroll bar to the browser window edge.

From a Facebook standpoint its potentially nicer in terms of user flow, to leave the setting to Show Scrollbars.

Application Page or Fan Page

YM Facebook works in two ways. As an application and as a Fan Page. You can use both simultaneously, even hot swapping between the two. However there is an additional step for putting your Content inside your Fan Page.

Visit http://www.facebook.com/apps/application.php?id=XXXX Where XXXX is your Application ID. Heres an example: its the Application page for the demo site.. Then click "Add To My Page" this will then add the Application to your Page.

You also need to have set up Page Tabs under Facebook Application Settings.

More Settings

On the settings tab you are provided with various different settings which control whether the Application is Facebook only or not, and whether to require a User to grant the Application permissions.

Content Settings provide simple rules for whether to allow a user to leave the Facebook app and view the site outside of Facebook.

You can also choose whether or not to use your own Theme file, fb.php, if the file is present. You can also enable/disable the ability to replace the comment form, with Facebook comments inside and outside the Application.

Facebook Credits

As of July 2011 Games inside Facebook have to use Facebook Credits. Luckily putting Your Members inside Facebook is exempt from this, as its not a game. This means you can offer Facebook Credits as a Payment Gateway in addition to your other Gateways.

It is worth noting that on any Facebook Credits Transaction, Facebook takes 30% as a Fee.

For Transactions in non USD Facebook pays out based on the following. Each Facebook Credit is $0.10 and then converts this into your native currency based on that day’s exchange rate So 10 Credits is $1 and 100 is $10 Transactions can only occur in whole credits, so if any math involved results in a decimal prices will be rounded up.

If your YM site uses Non USD as its currency you can set the exchange rate to use on the Facebook Credits tab as well as the rounding limits to use. There is also an option for making your Inside Facebook use Facebook Credits only. In addition, Facebook Credits only work inside Facebook Applications/Pages.

We provided a method to set prices for individual items on the Facebook Pricing tab, so instead of doing exchange rate math, you can specify a specific Credits Price to use instead.

Demo Site Configuration

Here is a very large picture of the Demo Site http://demo.yourmembers.co.uk/ of both the Facebook Configuration and the YM Facebook Configuration. Its just over 2000px square so can take some time to load....