WP-Autosocial main page.
- Go to Facebook Developers.

- Create a new app.

- Put your domain in App Domain field and Site URL (in Website section).
- Copy the App ID and App Secret in the correct fields. Save configuration.

- Get the token and Facebook ask you for permissions. Allow it.

- Now you can see your token in the readonly field and a select with your pages and your profile options.

capó.cat