When I try and specify a object type of image for my facebook app, it says that it is reserved... so my question is how do i go about creating this object type... or do I not create an object type and use og type article for all my media types... kind regards to any repsonders... J
相关问题
- Views base64 encoded blob in HTML with PHP
- Laravel Option Select - Default Issue
- PHP Recursively File Folder Scan Sorted by Modific
- Can php detect if javascript is on or not?
- Using similar_text and strpos together
There is no
image
Open Graph type. You should useog:type = article
and setog:image
to your image thumbnail.Perhaps you're trying to make the property's begin with the "og:" prefix. I tried this just now. I entered property name "og:anythingyoulike" (because all the built-in fields begin with "og:") and it came back with this error. Then I just typed "anythingyoulike" into the name input field and it worked fine.
It works fine for common terms like "image", "photo", "duration". Tested all three of those.
You may create whatever types you want within your application
namespace
(see Configuring Object Types) and later use that in your OpenGraph tags:If you want to use that specific built-in type: