How To Post On User Wall Using Facebook Application

  • Post published:August 19, 2015

Facebook Applications and Games are developed to enhance users experience on Facebook. You can find and download Applications and Games from App Center for different purposes. You might be interested in the development of Facebook Application and for that you need to know about its basic as well as advance permissions. This article will take you through step by step implementation from basic to advance level.

These Apps and Games are mostly created by third party developers. Apps and Games on Facebook that are created by third-party developers must follow Facebook Platform Policy.

Purpose Of The Application:

Before creating Facebook Application, you must know what is the purpose of your application. In our case, we are considering that we have a property-listing website and we wanted our customers to share property listings with their custom messages. In this case, posting custom messages on User Wall is a tricky part. To perform this functionality, we needed publish_action permissions.

How To Create Facebook Application?

Step 1:
  • Go to this link (Consider that we had a Facebook developer account)
  • Click on My Apps link (It showed us all existing Apps. There would be an option available for “Add a New App“. We clicked on that link and there we had to select for which platform we are building this App.)
  • Once platform is selected, it prompted us to enter App Name
  • Now we were asked to select a Category (We selected WEB as platform)
    .
Step 2:

Once we were done with Name and Platform System would take us towards SDK configuration:

  • At First, we had to provide website URL where we would host our application e.g. https://www.xyz.com/xyzapp/
  • FB provided us test code snippet for FB like button. Also we could get more information about “Share”, “Login”, “Social Plugins” and “Ads
  • This configuration made us test our application from the provided link, with Like, Share and Login functionality
    .

Till now, we were done with the initial App configurations.

Step 3:

Once we were done with initial configurations, it then redirected us to App Dashboard:

  • In settings table, you had to set the following information:
    • Display Name
    • Name Space
    • App Domain
    • Contact Email
    • Site URL
  • We could get the following important information about App from here:
    • App ID
    • App Secret
      .
Step 4:

To get extended permissions like:

  • publish_actions
  • manage_notifications
  • manage_pages
  • publish_pages
  • read_custom_friendlist
  • read_insight
    .

We had to submit our App for review. Facebook staff would then check our App and would confirm us for using requested permissions for the right purpose, then they would allow us for the above mentioned extended permissions.

Here, a question arose that if we didn’t get the permission then how could we build some functionality in our App? Due to this reason, Facebook provided us a test user, which could have all the permissions granted. We could then build and test our App with that user.

We could get test user information from “Roles → Test Users”. Once we completed and tested our application with this test user and everything worked fine for us, then we could submit yor App for review. For this, we had to provide complete instructions about how our App would work.

Once these permissions were approved, then they would be requested by App User at the time of installation.

App Review:

As our Facebook Application was for a property listing website and we wanted our users to post about their favorite property on their walls, this App would then post property on their behalf. The only concern raised by Facebook Team for this was that “People should input information by themselves” because App cannot auto-populate fields for them.

By taking care of Facebook Policy instructions, we were able to successfully pass our App Review.