name: Auto Post to Facebook Group
- name: Post to Facebook env: FACEBOOK_APP_ID: $ secrets.FACEBOOK_APP_ID FACEBOOK_APP_SECRET: $ secrets.FACEBOOK_APP_SECRET FACEBOOK_USER_TOKEN: $ secrets.FACEBOOK_USER_TOKEN FACEBOOK_GROUP_ID: $ secrets.FACEBOOK_GROUP_ID run: | curl -X POST \ https://graph.facebook.com/v13.0/$FACEBOOK_GROUP_ID/feed \ -H 'Authorization: Bearer $FACEBOOK_USER_TOKEN' \ -H 'Content-Type: application/json' \ -d '"message": "New code pushed to repository!", "link": "https://github.com/$GITHUB_REPOSITORY"' auto post group facebook github verified
That's it! With these steps, you've successfully set up auto-posting to your Facebook group using GitHub Actions. name: Auto Post to Facebook Group - name:
on: push: branches: - main
Are you tired of manually posting updates to your Facebook group every time you push new code to GitHub? Do you want to automate the process and keep your group members informed about your latest projects and updates? Look no further! In this write-up, we'll explore how to auto-post updates to a Facebook group using GitHub Actions and verify the setup to ensure it's working correctly. Do you want to automate the process and