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
393
questions
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 ...
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?
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:...
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/...
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 ...
30
votes
2
answers
17k
views
How can I move a URL via 301 redirect and retain the page's Facebook likes and Open Graph information?
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 ...
52
votes
5
answers
64k
views
Generating Facebook Open Graph meta tags dynamically
As the title implies I'm trying to generate Facebook Open Graph meta tags dynamically, but I can't get it working. Is it even possible?
UPDATE:
Finally I got it working with the help of @saccharine. ...
48
votes
10
answers
50k
views
Is there an API to force Facebook to scrape a page again?
I'm aware you can force update a page's cache by entering the URL on Facebook's debugger tool while been logged in as admin for that app/page:
https://developers.facebook.com/tools/debug
But what I ...
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" ...
29
votes
7
answers
37k
views
Angular 4 - Update Meta tags dynamically for Facebook (Open graph)
How do we add/update meta tags dynamically so that they get picked by Facebook/Whatsapp share dialog?
I upgraded my angular 2 application to angular 4 in order to use Meta service to add/update meta ...
4
votes
2
answers
15k
views
Get Facebook meta tags with PHP
I'm trying to get Facebook's meta tags from my HTML.
I'm using simple html dom to get all html data from the site.
I've tried with preg_replace, but without luck.
I want for example to get the ...
2
votes
4
answers
17k
views
How to post on a friend's Timeline after the February 2013 migration takes effect?
Since Facebook is removing the ability to post to friends' wall via Graph API from February 6, 2013 onward, I want to know if there are some alternates to post to the friend's Wall.
Till now, I was ...
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.
60
votes
12
answers
35k
views
Open Graph validation for HTML5
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.
...
21
votes
3
answers
27k
views
Dynamic Facebook Open Graph tags possible?
I'm dynamically changing my <meta property="og:image" content="#"> and <meta property="og:title" content="#"> tags using jQuery (below). When I view the code via 'inspect' in Chrome, the ...