Facebook OpenGraph API Error

I am trying to use a standard object type (article) with a custom action (discuss). According to the docs, this seems possible, but I get a weird error that doesn't make sense. There are no reference types in the error message. It seems like a bug on Facebook, but I can't be sure.

Here's my basic action config

This is the bizarre error I get

This shows that the article being referenced is valid and complete

Any help or suggestions are most appreciated!

+4
source share
2 answers

Try the code generated by Facebook (see http://i.imm.io/1ilGp.png )? It was very useful for us to publish data samples (you just need to put your access token on your line). In addition, it is possible that the Article parameter will not necessarily work around this issue.

Everything seems OK to me (including the Article parameter). However, I have never used the Graph API to validate opengraph publishing (I always use curl or a browser), so maybe this is just a Graph Explorer explorer error.

+2
source

In your custom action, select additional options and select "Allow Multiple" in the "Unique Action" section. This should fix your problem.

+1
source

Source: https://habr.com/ru/post/1499848/


All Articles