Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Post to Facebook #20

Open
ZimGil opened this issue Apr 2, 2019 · 1 comment
Open

Feature: Post to Facebook #20

ZimGil opened this issue Apr 2, 2019 · 1 comment
Labels
enhancement New feature or request M2 Milestone 2

Comments

@ZimGil
Copy link
Member

ZimGil commented Apr 2, 2019

Feature: Post to Facebook

  • The user should be able to announce releases to Facebook as well.
  • The factor for whether or not to attempt a Facebook post it the availability of the Co-responding environment variables.
  • The user should have a separate template for Facebook then other platforms.

Specs

  • It should throw an error if no Facebook environment variable are available
  • It should throw an error if no Facebook post template is available
  • It should throw an error if Facebook credentials fails
  • It should throw an error if Facebook post fails
  • It should post to create an instance when given the correct parameters
@ZimGil ZimGil added the enhancement New feature or request label Apr 2, 2019
@triage-new-issues triage-new-issues bot removed the triage label Apr 2, 2019
@thatkookooguy thatkookooguy added the M2 Milestone 2 label Apr 3, 2019
@ZimGil
Copy link
Member Author

ZimGil commented May 14, 2019

Here is some reference:

Post to page API:
POST https://graph.facebook.com/{pageId}/feed?message={message}&access_token={pageAccessToken}
Access token must have manage_pages and publish_pages enabled

Getting Facebook access token for pages:

  1. Go to Graph API Explorer
  2. Choose your app from the dropdown menu
  3. Click "Get Access Token"
  4. Make sure you're logged-in as a page admin
  5. Select the page you want to post to
  6. Make sure Manage your Pages is set to YES and click DONE
  7. On the same drop-down menu click Request publish_pages
  8. Make sure both Manage your Pages and Publish as Pages you manage are set to YES and click DONE
  9. Your access token is now visible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request M2 Milestone 2
Projects
None yet
Development

No branches or pull requests

2 participants