initially getting ads posts worked properly but recently last 10-20 days it does not work anymore (comments on ads posts works perfectly)
i tried calling the api manually, it does work and return objects.
my workaround for now, i get ads posts using simple requests library then for each returned ads posts id i use the library normally to get comments.
thanks
File "/usr/src/app/src/tasks/facebook.py", line 476, in get_ads_comments
posts = api.get_object(
File "/usr/local/lib/python3.9/site-packages/pyfacebook/api/graph.py", line 276, in get_object
resp = self._request(
File "/usr/local/lib/python3.9/site-packages/pyfacebook/api/graph.py", line 212, in _request
self.rate_limit.set_limit(headers)
File "/usr/local/lib/python3.9/site-packages/pyfacebook/ratelimit.py", line 131, in set_limit
] = RateLimitHeader(**item)
TypeError: init() got an unexpected keyword argument 'ads_api_access_tier'
initially getting ads posts worked properly but recently last 10-20 days it does not work anymore (comments on ads posts works perfectly) i tried calling the api manually, it does work and return objects.
my workaround for now, i get ads posts using simple requests library then for each returned ads posts id i use the library normally to get comments.
thanks
File "/usr/src/app/src/tasks/facebook.py", line 476, in get_ads_comments posts = api.get_object( File "/usr/local/lib/python3.9/site-packages/pyfacebook/api/graph.py", line 276, in get_object resp = self._request( File "/usr/local/lib/python3.9/site-packages/pyfacebook/api/graph.py", line 212, in _request self.rate_limit.set_limit(headers) File "/usr/local/lib/python3.9/site-packages/pyfacebook/ratelimit.py", line 131, in set_limit ] = RateLimitHeader(**item) TypeError: init() got an unexpected keyword argument 'ads_api_access_tier'