Facebook post not appearing in #showcase channel

The first thing you should check is if your post has been successfully posted to Facebook. You can do that by printing the response you receive.

response = requests.post(...)
print(response.status_code, response.json())

If the HTTP status_code is 200, then your post has been successfully published to Facebook. The post ID is also returned in the JSON response.

If you receive any other status code in the response, then there is likely something wrong with your code.

Troubleshooting Tips

  1. Are you using the correct graph API URL?
  2. Is your requests.post() command in the correct format and does it contain all the necessary arguments?
  3. Are you using the current access_token? Or has it expired?
  4. Are you getting a rate-limit error?
  5. Have you checked #announcements on Slack for updated access tokens?
1 Like

the output after printing
print(response.status_code, response.json())
is 200 and a json object with id and post-id ,
but still not passing the assessment

4 Likes

Create your own post.
The pinned posts are for information.