Marcus taking over for Snehal - Facebook and Facebook Groups social media scheduler#3466
Closed
SnelPatare wants to merge 66 commits into
Closed
Marcus taking over for Snehal - Facebook and Facebook Groups social media scheduler#3466SnelPatare wants to merge 66 commits into
SnelPatare wants to merge 66 commits into
Conversation
Contributor
Contributor
|
Tested locally with backend PR #1359 UI works fine, but Facebook login fails with “App not active.” Needs app reactivation or tester access to proceed. |
Member
|
Replaced with new PR set: #4714 and OneCommunityGlobal/HGNRest#2005 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
(PRIORITY HIGH) Jae: Create appropriate auto-poster for Facebook + Facebook Groups - Scheduler
Related PRS (if any):
This frontend PR is related to the #1359 backend PR.
To test this backend PR you need to checkout the #1359 frontend PR.
OneCommunityGlobal/HGNRest#1359
Main changes explained:
Updated Announcements/Announcements.css
Updated Announcements/index.jsx
Updated src/utils/URL.js
Updated src/actions/sendSocialMediaPosts.js
Updated src/components/Announcements/SocialMediaPostDetails.jsx
How to test:
Initial Setup to test PR:
1.Prepare Facebook account:
- Create Facebook developer account using https://developers.facebook.com/
- Register Facebook account using https://developers.facebook.com/async/registration/
- Enter mobile number and Verify
- Select Developer in About you section
2. Contact me (Snehal Patare) on WhatsApp or slack for admin access for One Community (testing page) Facebook page and Test access for the developer.facebook app.
3. Accept the invitation on facebook.com -> pages on left panel -> Invites
4. Refresh the facebook page. Click on your profile dp on upper right side. You should see the One Community (testing page) page in dropdown. (You will be having admin access)
5. Accept the request on the developer.facebook (https://developers.facebook.com/ ) application. The invitation will be shown on upper-right corner of the page.
6. Open https://developers.facebook.com/tools/ -> Select Graph API explorer -> Select Meta App as one com API, select User or Page as "One Community", Add below permissions
email
pages_show_list
pages_read_engagement
pages_read_user_content
pages_manage_posts
pages_manage_engagement
7. Click on Generate Access Token.
8. Click on i icon in the token -> Select Open in Access Token tool -> Select Extend Access Token at the bottom of the page -> Copy the token generated.
9. Enter the variables in HGNRest .env file:
FB_ACCESSCODE=
FB_PAGEID =
Test in HGN application
Test 1 : Social Media Icons
Test 2 : Post on multiple Social media
Test 3: Post Scheduled
Test 4: Post scheduled Post
Test 5: Delete without Posting from scheduled Post
Test 6: Post Scheduled annually
Screenshot
video.mp4
Note:
Please contact me if you need help with the setup.