SNS Plugins & Themes Compatibility with SE PHP 6.5.1 & Ensuring Continuity and Commitment: Our Promise to SocialEngine Users
SNS Plugins & Themes Compatibility with SE PHP 6.5.1 & Ensuring Continuity and Commitment: Our Promise to SocialEngine Users

Guidelines Social Photo Media Importer – Facebook API Key

Facebook App

When building a community it can be very useful to utilize larger, more established social networks to help spread the word. Facebook integration via Social Photo Media Importer Plugin gives you an opportunity to do this by allowing your users to import photos from their Facebook Account to your social network website.

Integrating Social Photo Media Importer via Facebook to your SocialEngine PHP site is a three step process. First you must create an app then enter the pertinent information into your SE PHP Admin panel, of the “Social Photo Media Importer Plugin” and then in second step send your application for review. In the third step, copy and paste the API keys to get started with the import of photos from Facebook. The following article will walk you through each step to help accomplish both the tasks.

Step1: Creating Your App

  1. In order for SocialEngine to communicate with Facebook, you will need to create a Facebook application. To setup a new Facebook application, please go to the following URL: https://developers.facebook.com/apps/ and login to Facebook.
  2. Make sure that you’re registered as a “Developer” on Facebook while creating your app. For this click on “Register Now” button with “Become a Facebook developer” and accept platform and privacy policies.
  3. Next, you need to create a new App. You can do this by clicking the “Create App” button on the top right of the page.
  4. This brings a popup where you’ll be asked to enter a display name for your app and contact email. Click Create App ID once done filling in this info the way you want it.
  5. After you’ve created the App ID above, you’ll be on the page to manage this app and everything it can do. First, you need to enter the website URL. To do that, in the left menu click “Basic”.
  6. Click on “Choose a Platform” button and select “Web” option.
  7. Enter your website URL in the box. Don’t put it like you see in the screenshot, be sure to put it to your own website URL.
  8. Click on “Settings” under Products section In the left menu. It will open the Client OAuth Settings Page.
  9. On the “Client OAuth Settings” page enter the details for your Facebook Login Valid OAuth Redirect URL and Save Changes.
    OAuth Redirect URL: www.yourwebsite.com/sesmediaimporter/auth/facebook. Put http or https whatever your site supports.
  10. Enter your domain name in the App Domains box. To make it more likely to be approved, you can also add the Terms and Privacy policy links, App Icon, Choose Category “Photo” and Save Changes when done.
  11. Double check that your Contact Email and App Domains have been filled in. Click Show and enter your Facebook password again, so you can see the App Secret as you need to copy the App ID and App Secret to your Admin Control Panel in the next step.
  12. Double check that your Contact Email and App Domains have been filled in. Click Show and enter your Facebook password again, so you can see the App Secret as you need to copy the App ID and App Secret to your Admin Control Panel in the next step.

Step2: Submit App for Review

  1. In order to get permissions for your application to work, you need to go to “App Review” tab in the left menu and click on “Start a Submission” button to proceed.
  2. Now, you need to choose “user_photos” from “Select the items you want to include in this submission” pop up and click “Add 1 Item” button.
  3. Next, click “Request” with “user_photos” to complete the details under user_photos permission for your application.
  4. “Notes for user_photos” pop up will get open and you need to choose option “Imports Facebook photos into a third-party photo library”, Platform as “Web” and enter “how your app uses user_photos” in the given text area.
  5. Next, Make a screencast showing how your application is using user_photos and upload it by clicking on “choose a file to upload..” and Save it.
  6. Next, Click “Submit for Review” button and by accepting terms & conditions click “Submit”. Now you are done, you just need to check that your app has been approved or not.

Step3: Linking to Social Photo Media Importer Plugin

  1. Now, go to the Basic Settings and you will be having with App ID and App Secret (copy App Secret only after clicking Show Button with it). You need to copy them and paste in your Admin Panel’s >> Social Photo Media Importer Plugin >> Facebook Tab >> “Facebook App ID” and “Facebook App Secret” fields.

At this point you have completed your App Configuration and photo importing via Instagram should work!