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

All Questions

0 votes
1 answer
38 views

Can't get Facebook to update OG:Image data for link embeds

My brother in law has a simple website for his small business, and he has requested that I change the image for the embed when the site is shared on Facebook. Everything looked fine when I checked it ...
Naddison's user avatar
1 vote
0 answers
34 views

Multiple og meta tags on single page

I have a single page on my site suppose example.com/content . That page have a tab contents like tab1 and tab2. When user visit example.com/content#tab1 the tab1 will be active and the tab2 content ...
Khalid Saiffullah's user avatar
1 vote
0 answers
218 views

Changing Facebook Metatags in SPA, but OG meta tag changes not recognized when shared [duplicate]

I have the following code to set for default Facebook meta info. <meta property="og:type" content="music.song"> <meta property="og:title" content="cXc Music (Alpha)"> <meta property="...
Douglas's user avatar
  • 1,248
0 votes
0 answers
326 views

Facebook share using Open Graph

I have implemented the FB share using Open Graph and its getting share too. My problem is when i click to share popup open and shows me "like an object" (See attached). I have done the following ...
Akshay Deshmukh's user avatar
1 vote
1 answer
744 views

Random og image and title set

I saw this on a website at f-u-t-b-o-l.com wherein on each refresh the image and title set changes. For eg:- at one time on FB, it shows og:image as say Messi.jpg and during the session, the og:title ...
user1928108's user avatar
7 votes
4 answers
23k views

Dynamically changing the content of: meta property="og:image"

I want to change the main photo in a web page, I just have the url page. So I decided to use the meta written for Facebook sharing. I want to change the image in: meta property="og:image" content="...
oldMonk's user avatar
  • 95
5 votes
3 answers
13k views

Set dynamic Meta Tags and Open Graph tags using jQuery

I'm trying to add dynamic tags using jQuery but it seems not to work. I load my script directly after loading the page. This is my HTML <!DOCTYPE html> <html lang="en"> <head> ...
BilalReffas's user avatar
  • 8,310
0 votes
1 answer
92 views

Facebook Open Graph get shares - reload cache issue

i'v implemented a sharing counter with Facebook Open Graph Shares, here the code: <script> function GetShareTargetCMS(){ var token = 'XXXXXXXXXXXXXXX|...
Riccardo Mel's user avatar
-1 votes
1 answer
589 views

Passing Dynamic OG title, description and image to Facebook share dialog in javascript

I am trying to implement a dynamic facebook share button that shares a custom "title" + "description" on the same URL for every quote, here: http://codepen.io/ryanabi/pen/mVoJGp The problem is that ...
Joseph Raphael's user avatar
0 votes
1 answer
197 views

Facebook Open Graph Object Debugger not work with jQuery append function

I try to add open graph object in my php site but having issue because i use jQuery append function to dynamically update all pages title & description but facebook opengraph object debugger not ...
Atranaz's user avatar
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 ...
user1661677's user avatar
  • 1,270
1 vote
0 answers
736 views

Raw Meta Tags in Open Graph properties

I created simple html page with meta tags to share some image,texts and url on facebook.I hosted this file and saw that link in Open Graph Object Debugger.but it only get images and descriptions of ...
user.k's user avatar
  • 21
0 votes
1 answer
2k views

pinterest share / pin it button using og: meta image

How could I code <a> link with pinterest share / or pin ability similar to facebook where the image used is pulled from the <meta property="og:image" content=""/> facebook has the URL you ...
Lieutenant Dan's user avatar
6 votes
2 answers
5k views

How to get page open graph metadata via Jquery

Users can paste an URL in a textbox on my site. When they do, I want to get that URL via jQuery AJAX and read the opengraph metadata from it. How can I do this? I read this post How to read Open ...
Adam's user avatar
  • 5,932
1 vote
0 answers
96 views

Like button popup not showing Title, Description and Image

I am having trouble displaying the Title, Description and Image fields in the popup window when a user clicks on the Like button. The fields are blank. This only happens on first page load. When I ...
Da Burnsman's user avatar

15 30 50 per page