Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [facebook-opengraph]

For programming questions about Facebook's Open Graph API, designed to integrate Web pages representing profiles of real-world things into the social graph

facebook-opengraph
402 votes
12 answers
343k views

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

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 ...
Sampson's user avatar
  • 267k
380 votes
30 answers
334k views

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

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/...
Cyprus106's user avatar
  • 5,730
352 votes
24 answers
524k views

Provide an image for WhatsApp link sharing

How can we include an image in our website to display in WhatsApp when we share a link like this?
maxdaniel98's user avatar
  • 6,893
177 votes
22 answers
208k views

Facebook Open Graph not clearing cache

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 ...
Ardee Aram's user avatar
  • 4,769
147 votes
28 answers
311k views

Showing Thumbnail for link in WhatsApp || og:image meta-tag doesn't work

Tried to follow this question : Provide an image for WhatsApp link sharing I have created a simple HTML webpage with the basic Facebook metatags: <!--FACEBOOK--> <meta property="og:...
JesuLopez's user avatar
  • 1,565
134 votes
5 answers
57k views

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

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 ...
Matt Beckman's user avatar
  • 5,012
130 votes
5 answers
66k views

"Unsafe JavaScript attempt to access frame with URL..." error being continuously generated in Chrome webkit inspector

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 ...
Neil Sarkar's user avatar
  • 6,944
129 votes
3 answers
61k views

Open graph can resolve relative url?

I'm adding Facebook Open Graph meta tag to my site. For example: <meta property="og:image" content="../images/aa.jpg"/> Does Open Graph take relative URLs? Otherwise, how can I convert a ...
ebattulga's user avatar
  • 11k
124 votes
3 answers
222k views

How to use the 'og' (Open Graph) meta tag for Facebook share

Facebook fetches all pictures from my site. I want to share only one picture which is on that page. I heard about the og meta tag, but I don't know how to put it.
Vignesh Babu M D's user avatar
92 votes
2 answers
4k views

IOS Facebook SDK - Post Open Graph and show on Timeline without clicking Activity Log

From the Facebook SDK sample code, when successfully posting the open graph object to the timeline, you have to click Show on Timeline in the Activity Log on the Facebook website. How to ignore these ...
isaacselement's user avatar
88 votes
8 answers
32k views

OpenGraph or Schema.org? [closed]

Just wondering whether you guys out there are favouring the OpenGraph protocol following markup like: <meta property="og:title" content="The Rock" /> <meta property="og:type" content="movie" ...
Tom's user avatar
  • 933
87 votes
2 answers
39k views

Use SVG as og:image

Is it possible to use an SVG for an Open Graph image? I tried it and it didn't work with Facebook, however I'm unsure if it's a problem with my SVG or if it's generally not possible. I did it like ...
Raphael Jeger's user avatar
69 votes
9 answers
151k views

New og:image size for Facebook share?

Facebook recently changed image sizes for ads, and link posts. This affects also to meta property="og:image". What is new optimal size for og:image at Facebook? The old version was square, now it ...
Jan-Olof Eriksson's user avatar
61 votes
6 answers
78k views

Facebook like - showing cached version og:image, way to refresh or reindex it?

Having an issue with Facebook like and a cached og:image. Long story short: Facebook has cached an older version of our like image. The meta content URL can't be changed. Is there anything I can do ...
FHM's user avatar
  • 611
61 votes
2 answers
38k views

Meaning of HTML prefix attribute (Open Graph Protocol)?

I'm new to Facebook Open Graph Protocol. I have been trying to figure out what the meaning of the HTML prefix attribute is. The closest post on Stack Overflow I could find dealing with this subject is ...
John Sonderson's user avatar

15 30 50 per page
1
2 3 4 5
263