reliefsupports.org-v1
reliefsupports.org-v1 copied to clipboard
Automatically post on facebook page
I am proposing a feature to post needs on a facebook page automatically. I've implemented the initial code and submitting with the pull request. I've created a test page with a test app to test out the feature,
https://www.facebook.com/SL-Flood-Relief-137605090120516/
A long lived access token needs to be saved in .env . I can shared the fb credentials I am using over a private message. But would be ideal if a page with traction is linked @danishka
Hope it will become helpful
The code looks alright, please rebase your branch seems to be outdated from the master. If possible add an image on how it actually looks GIF may be?
This is how the post looks, the need creation flow remains the same without any changes. I've rebased the changes. How should we go about adding the page tokens?
You can use the app tokens and we can add it to the .env template. Sample test keys can be committed to .env.sample but actual production app keys need to be handled with someone managing the deployments. Looks good, thanks for this 👍
Would posting the number of the requester be a potential violation of privacy? Should it be a concern at this point or should we just focus on connecting the two parties?
@sahanh appreciate if you can pic a high priority task available. https://github.com/reliefsupports/reliefsupports.org/wiki/Priority-Tasks-2017-05-31 Please do check if someone already working on a ticket before selecting.
@gayanhewa Gayan, I've rebased the changes and updated .env.example with my test credentials. The sample page it's linking to is https://www.facebook.com/SL-Flood-Relief-137605090120516/ Also updated the readme to cover the steps to generate the page token.