How to Integrate a Facebook App into your WordPress website




Geniuswp show

Summary: If you’relooking to use apluginwhich postsyour WordPress website’scontent toFacebook, or updates events to your Facebook calendar, chances are the plugin will ask you to create a Facebook app.A Facebook app uses Facebook’s core technologies to post content on Facebook, integrate news feeds, add notifications, etc.The WordPress plugin you intend to use, will eventually use the Facebook app to perform the needed tasks.So the question is, how do you create a Facebook app and integrate it into your WordPress website?This post aims to answer that very question. Here’s what I’ll be covering in this post:How to createa Facebook appHow to test the main app before using itIntegrating the app into your WordPress websiteClosing the loop by updating settings of the main appLet’s take a look!#Step 1: Create a Facebook App To create a Facebook app, you’ll need a Facebook developer account. If you don’t have one, no worries. You could simply upgrade your personal Facebook account to a developer account. Once you’ve done that, head on over to the Facebook Developers page.Under the ‘My Apps’ tab -> Click on ‘Add a New App’ -> then on ‘Website’ -> then enter a name for your app.For the sake of an example, let’s name the app ‘autopublish’.Once you’ve entered the name of the app, click on ‘Create New Facebook App ID’. You should see a pop-up. Pick the category, let’s say ‘Promotions and Contests’, and click on ‘Create App ID’. In ‘App Configuration’ add the ‘Site URL’ and ‘Mobile Site URL’ in the ‘Tell us about your website’ section. This has to be the URL of your WordPress website. Click ‘Next’.For now, that’s all the information you’ll need.You then need to test the app you’ve just created, before integrating it with your WordPress website.#Step 2: Create a Test AppIf you click on ‘Finished’ and then ‘Skip to Developer Dashboard’, you’ll have access to the app’s settings. You’ll notice a ‘Test Apps’ menu on the left. You can use this menu to create several test apps to test the Facebook app you’ve created.Click on ‘Test Apps’ and then ‘Create a Test App’ (Green button on the top-right). Add a name if you have to, or just leave it as ‘autopublish – Test1’, and click ‘Create a Test App’.Your test app will be created and you’ll receive an App ID and an App Secret key for it. Next, you need to then create a ‘Test User’.#Step 3: Create Test Users to Test the AppA test user is a special Facebook account created to test a Facebook app. It’s invisible to others and can be created directly from within an app. So, from your test app, you’ll have to create a test user.In your test app, go to ‘Roles’ -> ‘Test Users’ -> Add -> Set ‘Authorize Test... You are listening to the topic about "How to Integrate a Facebook App into your WordPress website", if you want to read the full article, please visit https://geniuswp.com or the link in the description.