# Facebook Application Configuration

In order to set up a Facebook application, you need to have created the application in the [Facebook Developer Portal](https://developers.facebook.com/).

Paste in the Application ID and Application Secret from the Facebook Developer Portal and save the configuration.

![FBPanelExample](https://namazustudios.com/elementsmanual/img/screenshots/fb_panel.png)

#### JSON Structure of Facebook Application Configuration <a href="#json-structure-of-facebook-application-configuration" id="json-structure-of-facebook-application-configuration"></a>

```json
{
    "_id" : ObjectId("5cdb109ce96c3c4f2bfe1ecd"),
    "active" : true,
    "category" : "FACEBOOK",
    "name" : "appIdFromFacebookGoesHere",
    "parent" : {
        "$ref" : "application",
        "$id" : ObjectId("5cdb1088e96c3c4f2bfe1da7")
    },
    "applicationSecret" : "thisistheapplicationsecret"
}
```
