Few minutes answer for experienced developer: Facebook Graph API
- or -
Post a project like this€10(approx. $11)
- Posted:
- Proposals: 7
- Remote
- #2133516
- Expired
Ranked Number-1 Service Providers on PPH: Expert IOS ANDROID Mobile App Developer | Web Developer |Digital Marketing|3D Animater
Campbell
1022408128075413614111750814224445723227252369862
Description
Experience Level: Expert
I m working on a BOT to publish post on Facebook : Workplace , which is the Facebook version for companies , using the same graph API.
The issue I'm having is that I cannot succeed in managing the privacy of post: when I post something I need to manage the privacy and defining the list of users that can see the post. This seems to be feasible as per api documentation managing the privacy object (https://developers.facebook.com/docs/graph-api/reference/v3.1/post#publishing)
Whenever I try to do this i.e.:
https://graph.facebook.com/v3.1/feed?message=sample privacy message 16:31&access_token=myaccesstoken&privacy={'value':'CUSTOM','friends':'SOME_FRIENDS','allow':100028260791534}
I get this error:
{
"error": {
"message": "(#100) Only friends may be specified in allow and deny lists",
"type": "OAuthException",
"code": 100,
"fbtrace_id": "BOcQttKPs5W"
}
}
Any idea or sample ?
The issue I'm having is that I cannot succeed in managing the privacy of post: when I post something I need to manage the privacy and defining the list of users that can see the post. This seems to be feasible as per api documentation managing the privacy object (https://developers.facebook.com/docs/graph-api/reference/v3.1/post#publishing)
Whenever I try to do this i.e.:
https://graph.facebook.com/v3.1/feed?message=sample privacy message 16:31&access_token=myaccesstoken&privacy={'value':'CUSTOM','friends':'SOME_FRIENDS','allow':100028260791534}
I get this error:
{
"error": {
"message": "(#100) Only friends may be specified in allow and deny lists",
"type": "OAuthException",
"code": 100,
"fbtrace_id": "BOcQttKPs5W"
}
}
Any idea or sample ?
Alberto B.
100% (8)Projects Completed
8
Freelancers worked with
7
Projects awarded
41%
Last project
2 Sep 2022
Italy
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
do you have oauth installed on your server?
Alberto B.09 Sep 2018No, I m simply testing with Postman but I can succeed in posting , creating groups etc. I just have problem with permission on single post
Niket J.09 Sep 2018then this issue belong to facebook app configuration part? if you could hire then will take a look.
706730
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies