Tips for Importing from Facebook/Google - Modern Events Calendar Knowledgebase Tips for Importing from Facebook/Google - Modern Events Calendar Knowledgebase
,

Tips for Importing from Facebook/Google

Importing From Google

Login to your Google account.

Click on this link to open your Google Could Console.

Click on the highlighted area titled “Quickstart” in the screenshot below.

Click on “New Project” in the newly opened pop-up window.

During this step, choose a name for your project and keep “no organization” on and click on Create.

Click on this link to open your Google Cloud Console.

Next, navigate to the APIs page (we are done with the previous tab).Select your project and then click on “Enable APIs and Services” option.

In the newly opened window search for the keyword “calendar” and you should find Google Calendar API and select it.
Activate it for your project as shown in the screenshots below.

You will be redirected to the Google APIs dashboard. Click on “Credentials” from the left-side menu.Next, perform the following two steps in sequence.

The first necessary step is to create an API for MEC. So click on Configure Consent Screen as shown in the screenshot below.
You will be directed to a new page to create OAuth, here you’ll need to choose your User Type as External and click on Create.

During this step, you will need to fill in the necessary information in the form.

Pay close attention to information regarding Authorized Domains and fill it accurately because you are setting up the authentication application and any mistakes during this step will make it so that your application will not connect to Google.

Once all the information is filled in, click on Save and Continue.

The next step is the Scopes of the application.

Click on “Add or Remove Scopes” and you will see information that will be of use.

Choose what you need in the “User-facing Description” column (you will not need to do anything on MEC yet). After the changes are applied, click on Save and Continue.

The next step deals with Test Users and so we won’t be dealing with MEC yet.In the final step, you will view a summary of the OAuth you’ve created.

After reviewing the information to check that everything is in order, scroll down and click on Back to Dashboard.

Click on Credentials again so that we can configure steps in our API creation. In the newly opened window click on Create Credentials to open a menu.

In the menu click on API Key.
In this window, you will have access to information about your API. Copy them and keep them for now.

Click on the Restrict Key button.

In the newly opened window, search for “Application Restrictions” and choose HTTP Referrers.

Next, find “Website Restriction” and enter your domain address as instructed, and click on Done.

Then on the bottom of the form click on Save. If done correctly, you should have an API with a green check mark next to it.

Click on Create Credentials again but this time click on OAuth Client ID.

In the newly opened form, choose Web Application as Application Type.

Assign a desired name in the name field and scroll down to the “Authorized JavaScript origins” and “Authorized Redirect URLs” options and fill them as shown below.

Please make sure that the first option includes your domain address without a subdomain or directory and the second option needs to include the link that you can find in MEC.

All you need to do is go to MEC > Import/Export > Google cal. Export from the WordPress Dashboard to get the Authorized Redirection link.

Finally, you will get two new items, Client ID and Client Secret which you’ll need to copy and store for later use.

Final Touches on your Google Account:Open Google Calendar by clicking on this link.

Find your desired calendar and click on the three horizontal dots to open the menu and click on Settings.On this page, make sure that the Access Permissions for the calendar are set on Enabled.

Scroll down to the Integrate Calendar section. Here you can view the Calendar ID as the first visible item.

Enter this information on the Import/Export of MEC for Google Calendar or Advanced Importer if you own/use that addon.You may get redirected to a Google login screen after saving the information in the above Settings which indicates that your API key has expired.

Therefore, you need to go through the authentication process again, choose your account, and allow the access permissions mentioned above to be activated on your Google account again.

Importing From Facebook

1– First login to your Facebook account

2Click on the following link: https://developers.facebook.com/

3Click on My Apps from the header menu.

4Click the “Create App” option in the opened window:

5– On the next window click on “Other”.


6– A window opens up, asking you to select an app type. Since Facebook frequently makes visual changes to its development area some of the screenshots shown here might not resemble what you’re viewing on your screen but fear not, all you need to do is to find the None item or an option with the message “Create an app with combinations of consumer and business permissions and products” (something to that effect) and click on Continue:

7In the next step, the preliminary information of your Web App will need to be entered as shown in the example and once done click on Create App. It is worth noting that if your account is a Business Account you’ll need to fill in the third field as well otherwise just leave it empty and proceed to the next step

8After passing a security step to ensure that you are not a bot, you will be sent to a page that includes API settings. Find the Facebook Login option in the Add a Product section (⚠ From this step on till step 15, they are only needed if you are using the MEC Advanced Importer add for authentication, if you use MEC’s native importer then you can skip ahead to step 16)

9Next, click on the Web option

10In the highlighted tab, enter personal information such as your website URL. Click on continue to progress the steps and in the final step you’ll be provided a code to copy. Ignore the rest and click on Next.

11– Now, click on Settings > Basic on the left sidebar menu and enter your website address in the “App Domains”

12From the left-side menu, click on Product settings again and enter the Add URL section from MEC’s Advanced Importer Facebook in the Valid oAuth Redirect URLs section and store it.

13– Save the settings and find the Redirect URL Validator field and enter the same link from the previous step here and click on Check URL. You should have received a message confirming that “This is a valid redirect URL for this application” which means that you have configured the settings correctly and can use the app.

14Navigate to Basic Settings and everything you need for the Advanced Importer addon is available here for use

15Go to the following link for the next steps related to MEC: https://developers.facebook.com/tools/explorer
Click on Get Token and then click on Get User Access Token. Indicate that you want to continue and set the necessary permissions for this. Your Public Profile will be activated by default

16Click on Add a Permission and add “publish_pages” and “manage_pages” accesses. Above the page, an Access Token has been created however you need to click on Generate Access Token and have to go through validation again. You also need to choose at least one Facebook page and give access permission to the application.

17– Copy the code and enter it in the Debugger section: https://developers.facebook.com/tools/debug/accesstoken/

18Now click on the Debug button and keep the information on App-Scoped User ID and copy the Access Token Key. Below the page, click on Extend Access Token.

Final Touches on your Facebook Account:The Access TOken for your MEC, App ID, App Secret in the Advanced Importer Addon is now ready. All you need to do is enter the relevant information in MEC’s settings or the addon’s section. After saving the above settings you might be redirected to Facebook login in case your API key is expired. In this, you will need to go through the Authentication process again, choose your account and set the permissions mentioned above on your Facebook account.

Report Out Dated Content

If you think lorem ipsum then dolor site amet never

Report Now

0 Comments

No Comment.