Skip to content

Commit

Permalink
#3 Explain for each module how to set up OAuth Apps
Browse files Browse the repository at this point in the history
  • Loading branch information
groganz committed Sep 11, 2016
1 parent b9c8d89 commit ee847e5
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 9 deletions.
2 changes: 1 addition & 1 deletion ce/administrator/configuration/oauth_apps.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ There are How-Tos available for each Channel:

- :ref:`Twitter <twitter-oauth-app-configuration>`
- :ref:`Facebook <facebook-oauth-app-configuration>`

- :ref:`Linkedin <linkedin-oauth-app-configuration>`

Edit existing OAuth App credentials
-----------------------------------
Expand Down
24 changes: 17 additions & 7 deletions package/campaignchain_facebook.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,21 @@ created in Facebook:
*Settings* page to copy and paste the *App ID* and the *App Secret* and
insert it in the *Provide Application Credentials* form.

.. note::

Should you want CampaignChain to post to Facebook streams which are not
owned by the same Facebook account which owns your OAuth App, then you must
get your OAuth App approved by Facebook. To do so, click on *App Review*
on the left menu of your Facebook OAuth App.
Should you want CampaignChain to post to Facebook streams which are *not* owned
by the same Facebook account which owns your OAuth App, then you must have your
OAuth App approved by Facebook. To do so, click on *App Review* on the left menu
of your Facebook OAuth App.

The following `Facebook login permissions`_ will have to be approved:

- business_management
- email
- manage_pages
- public_profile
- publish_actions
- publish_pages
- read_insights
- user_friends

Issues
------
Expand All @@ -79,4 +88,5 @@ https://github.com/CampaignChain/campaignchain/issues.
.. _campaignchain/location-facebook: https://github.com/CampaignChain/location-facebook
.. _campaignchain/activity-facebook: https://github.com/CampaignChain/activity-facebook
.. _campaignchain/operation-facebook: https://github.com/CampaignChain/operation-facebook
.. _Symfony bundles: http://symfony.com/doc/current/bundles.html
.. _Symfony bundles: http://symfony.com/doc/current/bundles.html
.. _Facebook login permissions: https://developers.facebook.com/docs/facebook-login/permissions
3 changes: 2 additions & 1 deletion package/campaignchain_linkedin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ Configuration
Before you can post on Linkedin from within CampaignChain, an OAuth app must be
created in Linkedin:

#. Go to https://dev.linkedin.com/apps and create a new application.
#. Go to https://www.linkedin.com/secure/developer (or https://www.linkedin.com/secure/developer?newapp=)
and create a new application.
#. Fill out any required fields such as the application name and description.
#. Put your website domain in the Website field.
#. Provide the host name of your CampaignChain instance as the Callback URL
Expand Down

0 comments on commit ee847e5

Please sign in to comment.