Skip to Content

As mentioned in the first part, to use the cloud-c4c-extension-sample Application for creating marketing lead we need to use various Facebook tokens. The aim of this blog is to show how to generate those tokens. To limit the size of the blog it has been divided into two parts. This blog deals with creating the app and the follow up blog shows how to create the tokens required and real time subscriptions.

Note: This document is only limited to showcase how to create a basic Facebook app to be used with for this specific scenario and how to generate the required tokens.  Development of productize Facebook App is beyond the scope. Additionally Facebook API can change over time and no guarantee the steps mentioned here will work as is. Please consult developers.facebook.com for further information and any issues you
might face.

To create a Facebook app you need to register as a developer with Facebook.

Give a Display name and use the category Apps for pages

/wp-content/uploads/2015/05/createfbapp_707648.gif

Under Settings, add the platform as a website for this app/wp-content/uploads/2015/05/setappplatform_707641.png

And provide a URL for the Website (There is a sample servlet shipped with the source code with context /FBMainApp/ which can be added here) under Site URL
/wp-content/uploads/2015/05/maintainsiteurl_707638.png

Under the App Details add an app page where the campaigns will be created using Create New page button/wp-content/uploads/2015/05/apppage_1_707637.png

For this demo I am using page type as Brand or Product and then follow the screen instructions to create the app page/wp-content/uploads/2015/05/apppage_2_707636.png

After page is created add it to the app under the App page section

/wp-content/uploads/2015/05/apppage_3_707632.png

Next switch on the Website option under App Center Listed Platforms and click on Configure App Center Permissions

/wp-content/uploads/2015/05/appcenterpermission_707631.png

And request for information needed from Facebook (for our application only email is needed)/wp-content/uploads/2015/05/appcenterpermission_2_707630.png

That’s all from app generation point now we will create the required tokens in the follow up blog.

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

  1. SRI RAM

    Hello Abhinash,

    Thanks for sharing this information.

    I think now facebook changed some settings in the developer account.

    Now I am not able to add the page link to the apps.

    Meaning I am not able to see the below settings layout now.

    /wp-content/uploads/2016/05/1_944552.png

    Now I can only see minimal control in the settings page.

    like below,

    2.PNG

    So can you please how to proceed further?

    Thanks and Regards,

    Sriram

    (0) 
    1. Abinash Nanda Post author

      Hi Sriram,

      You need to check at facebook develoer forum. I would imagine facebook provides some API to bind the page to app.

      Best regrads, Abinash

      (0) 

Leave a Reply