---------------------------------------------------------------------------
GraphAPIError Traceback (most recent call last)
<ipython-input-7-9e59ca7c2cd2> in <module>
41 page_access_token = os.getenv('FACEBOOK_ACCESS_TOKEN')
42 graph = facebook.GraphAPI(page_access_token)
---> 43 graph.put_object("me", "feed", message="Posting on my wall1!")
44
~/opt/anaconda3/lib/python3.7/site-packages/facebook/__init__.py in put_object(self, parent_object, connection_name, **data)
190 "{0}/{1}/{2}".format(self.version, parent_object, connection_name),
191 post_args=data,
--> 192 method="POST",
193 )
194
~/opt/anaconda3/lib/python3.7/site-packages/facebook/__init__.py in request(self, path, args, post_args, files, method)
311
312 if result and isinstance(result, dict) and result.get("error"):
--> 313 raise GraphAPIError(result)
314 return result
315
GraphAPIError: (#200) If posting to a group, requires app being installed in the group, and \
either publish_to_groups permission with user token, or both manage_pages \
and publish_pages permission with page token; If posting to a page, \
requires both manage_pages and publish_pages as an admin with \
sufficient administrative permission