opengraph

“Unsafe JavaScript attempt to access frame with URL…” error being continuously generated in Chrome webkit inspector

删除回忆录丶 提交于 2019-11-26 15:22:11
问题 Chrome (or any other webkit browser) throws a ton of these "Unsafe JavaScript attempt to access frame with URL..." when working with the Facebook API for example. It doesn't interfere with actual operation, but it does make the javascript console basically unusable. I'd like to know if there is a way to suppress these errors specifically in the console? Or if there are other solutions you guys can think of, I would really appreciate it. Thanks. 回答1: You could allow cross-domain requests

Open Graph namespace declaration: HTML with XMLNS or head prefix?

笑着哭i 提交于 2019-11-26 15:01:13
问题 I have seen conflicting information on how to best implement Open Graph namespaces. Specifically, the Open Graph website uses a few different methods, and the Facebook Open Graph examples use other methods. Open Graph website example (using HTML prefix attribute): <html prefix="og: http://ogp.me/ns#"> Open Graph website source code (using HTML XMLNS attribute): <html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#"> Facebook Open Graph documentation (using HEAD prefix

Creating Facebook Page programmatically through Open Graph API

元气小坏坏 提交于 2019-11-26 14:18:07
问题 I am hoping there is a way to create a facebook page using the open graph API. The documentation only shows API calls I can make once the page exists. Currently, I have movie profiles on my site that I would like to create a page for each on Facebook. I know I can just add the Like button and once clicked, it will create the page for me. But I'm hoping to have a programmatic way to do the same. 回答1: As per this thread, there's no way to create pages programmatically Link to the thread 回答2:

Is it possible to use the same meta tag for opengraph and schema.org

不想你离开。 提交于 2019-11-26 09:49:50
问题 I dont like the amount of tags in the head of my document. here is an example of some meta tags. <!--w3c--> <title>Page Title</title> <meta name=\"description\" content=\"great description\"> <!--schema.org--> <meta itemprop=\"name\" content=\"Page Title\"> <meta itemprop=\"description\" content=\"great description\"> <!-- opengraph--> <meta property=\"og:title\" content=\"Page Title\"> <meta property=\"og:description\" content=\"great description\"> Is it possible to combine the tags

Open Graph validation for HTML5

我的未来我决定 提交于 2019-11-26 09:22:53
问题 Is there any way to get facebook\'s crappy Open Graph meta tags to validate if my doctype is <!DOCTYPE html> (HTML5)? Other than facebook\'s Open Graph meta tags, my document validates perfectly. I really don\'t want to use <!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML+RDFa 1.0//EN\" \"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd\"> as that creates a whole new set of problems. Here is an example of one of the validation errors in question... Error Line 11, Column 47: Attribute property not

Facebook Open Graph not clearing cache

ぃ、小莉子 提交于 2019-11-26 09:17:00
I'm having troubles with my meta tags with Open Graph. It seems as though Facebook is caching old values of my meta tags. Old values for Attributes og:title and og:url are still used, even though I have changed them already. I ran Lint on a page in my site , and this appeared: Notice that there are two values for og:title and og:url , and the last one prevailed. However, The last two entries are the OLD entries that I used for this site. I am now currently using these meta tags (you can verify if you view the source of the HTML): <meta property="og:title" content="Smart og rummelig pusletaske

FB OpenGraph og:image not pulling images (possibly https?)

限于喜欢 提交于 2019-11-26 03:47:14
问题 First -- I do not believe this is a duplicate issue. I\'ve searched for same or similar problems on SO extensively, and due to the nature of troubleshooting before asking, I believe this problem is unique. Facebook cannot grasp my og:image files and I have tried every usual solution. I\'m beginning to think it might have something to do with https://... I have checked http://developers.facebook.com/tools/debug and have zero warnings or errors. It is finding the images we linked to in the \"

How can I move a URL via 301 redirect and retain the page&#39;s Facebook likes and Open Graph information?

狂风中的少年 提交于 2019-11-26 02:08:41
问题 I understand the og:url meta tag is the canonical url for the resource in the open graph. What strategies can I use if I wish to support 301 redirecting of the resource, while preserving its place in the open graph? I don\'t want to lose my likes because i\'ve changed the URLs. Is the best way to do this to store the original url of the content, and refer to that? Are there any other strategies for dealing with this? To clarify - I have page: /page1 , with an og:url of http://www.example.com

Facebook Open Graph not clearing cache

对着背影说爱祢 提交于 2019-11-26 02:03:28
问题 I\'m having troubles with my meta tags with Open Graph. It seems as though Facebook is caching old values of my meta tags. Old values for Attributes og:title and og:url are still used, even though I have changed them already. I ran Lint on a page in my site, and this appeared: Notice that there are two values for og:title and og:url , and the last one prevailed. However, The last two entries are the OLD entries that I used for this site. I am now currently using these meta tags (you can

How does Facebook Sharer select Images and other metadata when sharing my URL?

喜夏-厌秋 提交于 2019-11-25 22:14:49
问题 When using Facebook Sharer, Facebook will offer the user the option of using 1 of a few images pulled from the source as a preview for their link. How are these images selected, and how can I ensure that any particular image on my page is always included in this list? 回答1: How do I tell Facebook which image to use when my page gets shared? Facebook has a set of open-graph meta tags that it looks at to decide which image to show. The keys one for the Facebook image are: <meta property="og