Merge pull request #117 from tobiasd/master
[friendica.git/.git] / addon / facebook / README
1 Installing the Friendika/Facebook connector
2
3 1. register an API key for your site from developer.facebook.com
4   a. We'd be very happy if you include "Friendika" in the application name
5      to increase name recognition. The Friendika icons are also present
6      in the images directory and may be uploaded as a Facebook app icon.
7      Use images/friendika-16.jpg for the Icon and images/friendika-128.jpg for the Logo.
8   b. The url should be your site URL with a trailing slash.
9      You may use http://portal.friendika.com/privacy as the privacy policy
10      URL unless your site has different requirements, and 
11      http://portal.friendika.com as the Terms of Service URL unless
12      you have different requirements. (Friendika is a software application
13      and does not require Terms of Service, though your installation of it might).
14   c. Set the following values in your .htconfig.php file
15         $a->config['facebook']['appid'] = 'xxxxxxxxxxx';
16         $a->config['facebook']['appsecret'] = 'xxxxxxxxxxxxxxx';
17      Replace with the settings Facebook gives you.
18 2. Enable the facebook plugin by including it in .htconfig.php - e.g. 
19     $a->config['system']['addon'] = 'plugin1,plugin2,facebook';
20 3. Visit the Facebook Settings section of the "Settings->Plugin Settings" page.
21    and click 'Install Facebook Connector'.
22 4. This will ask you to login to Facebook and grant permission to the 
23    plugin to do its stuff. Allow it to do so. 
24 5. You're done. To turn it off visit the Plugin Settings page again and
25    'Remove Facebook posting'.
26
27 Vidoes and embeds will not be posted if there is no other content. Links 
28 and images will be converted to a format suitable for the Facebook API and 
29 long posts truncated - with a link to view the full post. 
30
31 Facebook contacts will not be able to view private photos, as they are not able to
32 authenticate to your site to establish identity. We will address this 
33 in a future release.