Drupal无法安装Facebook Photo Sync模块
i am trying to install the " Facebook Photo Sync " module, But i am always getting this below error
Error message Facebook PHP SDK library missing, please view the README.txt for installation instructions.
Note: as per readme instruction i pasted the Facebook-PHP-SDK libraries in to site/all/module/libraries/facebook-php-sdk.
For your reference i attached screen shot.
我正在尝试安装“Facebook Photo Sync”模块,但我总是得到以下错误 p >
错误消息Facebook PHP SDK库缺失,请查看 README.txt以获取安装说明。 p> blockquote>
注意:根据readme说明,我将Facebook-PHP-SDK库粘贴到site / all / module / libraries / facebook-php-sdk。 p>
供参考我附加屏幕截图。 p>
p> div>
@Bharanikumar
Make sure you had followed this steps to use the Facebook PHP SDK library
You will need:
With Drupal 7 (drupal.org/project/drupal
) installed
Drupal for Facebook -module (drupal.org/project/fb
)
PHP SDK for the Facebook API (github.com/facebook/php-sdk
)
Facebook Account
Step 1: Downloading all the necessary files
- Install Drupal 7 and set it up.
- Download "Drupal for Facebook" -module
- Go to "PHP SDK for the Facebook API"-page on GitHub and download the latest PHP SDK for Facebook.
- Extract the files to "sites/all/libraries/facebook-php-sdk"
Step 2: Creating a new Facebook Application
- Go to Facebook Developers (
developers.facebook.com/apps
) page and select "Create new application" - Write your "App Display Name" and accept the "Facebook Platform Policies"
- Keep the page open, we will need the APP ID & Secret later. You can also setup the icon for the Application on this page. Users when see it when logging in on your website
Step 3: Enabling the Facebook module
- Login as Admin to your Drupal site and go to "Modules" (admin/modules)
- Under "Drupal for Facebook"-fieldset, choose "Facebook API", "Facebook App" and "Facebook Connect" and click "Save".
- Go to "Drupal for Facebook"-settings (admin/structure/fb) and click "Add App"
- On "Label", write a name for this App, like "fblogin1". On "Facebook App ID" and "Secret" write the info from the Facebook page before.
- Select "Primary" under "Facebook Connect" and click "Save".