0

I am trying to check if the rate limit is exceeded using PHP Facebook Business SDK.

I am able to get the rate limit by fetching the header data using getResponse() -> getHeaders(). But this does not work for create or update operations on object like updateSelf(). For eg, It shows error "Call to undefined method FacebookAds\Object\AdRule::getResponse()" while updating an ad rule.

I have cases in which I need to perform update/create operations in a loop. Is there a way to find the limit? Please suggest any other ways we can avoid rate limit reached error.

Aromal S
  • 63
  • 1
  • 4

0 Answers0