user1456071
user1456071

Reputation: 11

Fatal error: Uncaught OAuthException: (#100) The post's links must direct to the application's connect or canvas URL

I have developed an web application, which uses facebook graph api using offline_access and it was working fine before facebook's removal of access token and addition extend expiry token. My application post message, links and upload pictures on timeline and fanpage using graph api. Posting messages and pictures is working fine, while, posting link throwing following exception Fatal error: Uncaught OAuthException: (#100) The post's links must direct to the application's connect or canvas URL.

I research over facebook developer and other net stuff but no luck.

Can anybody help to find the solution.

Regards,

Upvotes: 1

Views: 1833

Answers (2)

ExtremelyPoorMan
ExtremelyPoorMan

Reputation: 143

Did you generate the access token using the Graph explorer app on FB? Make sure you select your app from the select box on the top-right. It will be selected as Graph Explorer by default.

Upvotes: 0

C3roe
C3roe

Reputation: 96424

Check your app settings – do you have the migration „Stream post URL security” enabled? If so, disable it.

Upvotes: 3

Related Questions