fbsamples / workplace-platform-samples

Sample code to enable Workplace customers to make the most of the features of the Workplace Custom Integrations platform.
Other
182 stars 170 forks source link

Unable to Create a Group Post #139

Closed daniel-statsig closed 8 months ago

daniel-statsig commented 8 months ago

I have every single permission enabled on my Workplace bot, but I am unable to create a Group Post. This was working fine yesterday.

Request:

curl 'https://graph.facebook.com/{{group_id}}/feed' --header 'Content-Type: application/json' --header 'Authorization: Bearer ACCESS_TOKEN' --data '{
    "message": "hello"
}'

Response

{
    "error": {
        "code": 1,
        "message": "An unknown error occurred"
    }
}
daniel-statsig commented 8 months ago

@Antiklesys any help you could provide here would be greatly appreciated

Antiklesys commented 8 months ago

I recommend you try regenerating the access token and validating the syntax. Also please open a support ticket via Workplace if that doesn’t solve the problem.

daniel-statsig commented 8 months ago

Looks like this was fixed on the FB side. It just started working again. Thanks for the help