Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Add code 368 as a ThrottleException #1131

Open
wants to merge 2 commits into
base: 5.x
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/Facebook/Exceptions/FacebookResponseException.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,14 @@ public static function create(FacebookResponse $response)
case 17:
case 32:
case 341:
case 368:
case 613:
return new static($response, new FacebookThrottleException($message, $code));

// Duplicate Post
case 506:
// Invalid URL
case 1500:
return new static($response, new FacebookClientException($message, $code));
}

Expand Down