All Questions
Tagged with facebook-opengraph php
322
questions
0
votes
0
answers
67
views
Get Facebook persistent stream key from Graph API
I can obtain a Facebook stream key through the graph API.
I saw there's an option to make the Facebook stream key persistent with updating the video ID persistent_stream_key_status but when I used ...
0
votes
1
answer
338
views
Error (#100) Invalid message data - Open Graph Facebook
I'm trying to send an image using the OpenGraph API from my application to an Instagram account (note that I can send and receive text). I'm using:
the Laravel library "joelbutcher/facebook-...
3
votes
2
answers
3k
views
How to get the OG image Dynamically
The project I'm working on is a project for a hotel. There are different images for different pages as a main image.
For Example-
If someone shares the about us page to facebook, the main image in the ...
0
votes
0
answers
43
views
Facebook publishing post, but receive error
I'm posting a message with a video with the publishing fb api:
$res = Http::post(env('FB_API').'31457605812596/videos?published=false&access_token='.'my-token', [
'file_url' => 'https://cdn....
0
votes
2
answers
1k
views
WP SEO by Yoast - How to change og:image size?
I want to change the og:image that Yoast SEO generates, to some custom height and width (eg 1200x630) because I'm uploading very large images. I've tried adding this code in functions.php but doesn't ...
1
vote
0
answers
280
views
My OpenGraph is not working to any social media platform like Discord, Twitter and Facebook
Based on facebook debug here's the error.
But I don't think That's the problem in SSL Error My SSL is provided by Let's Encrypt.
For the other errors meta og is already there for like 48hours now ...
0
votes
0
answers
177
views
Facebook not getting opengraph tags from "large" pages. Any fix?
This is an Opengraph related question. In a simple webpage with OG implemented, Facebook doesn't get the tags from the link. other testers do.
In this question, Dutow said he trimmed his page and it ...
0
votes
2
answers
108
views
How to access foreach loop variable in php? [duplicate]
There is the following code that works correctly, that is, the title of the post is displayed and after the comma its category name on the page in the header:
<?php foreach (HTML_SOBI::...
0
votes
1
answer
214
views
Why will Facebook not load og:image loaded via a php file?
I'm using a php file to load images into my webpage, since they are hosted outside the webroot. Everything works well apart from Facebook not registering the image in an og:image metatag when they are ...
2
votes
1
answer
1k
views
Add an OpenGraph tag in WooCommerce single product pages
I have to add Product SKU to Woocommerce metatags product page (Facebook OpenGraph). I've tried to add
global $product;
echo "<meta property='og:id' content='".$product->get_sku().&...
0
votes
0
answers
61
views
Sending information when sharing on FB and FB OG , through URL using $_GET not working
I created a code that gets information from an API and displays it dynamically.
foreach($filtered_listings as $listing){
get_template_part( 'template-parts/listings/img/image','cover', $...
0
votes
1
answer
743
views
Getting errors while debugging Facebook Pixel microdata
I have already set up the required fields for Facebook Pixel Microdata,
<meta property="og:id"
content="65" />
<meta property="og:availability"
...
-3
votes
1
answer
204
views
How to get the matched records from graph facebook API?
I have to get the url and image name from returned facebook api response. I have the response results. I have tried to get the image url and image name from the following. Please help me to get the ...
1
vote
0
answers
406
views
Can same Open graph tags be used for both linkedIn and facebook in the same page?
I'm using Open graph tags for sharing URL to both linked in & Facebook. On localhost when I test using LinkedIn inspector tool and Facebook debugger tool. Both are working fine and give no error ...
0
votes
1
answer
273
views
Unable to dynamically modify content of a page in WordPress
I need to change some opengraph attributes on a specific page based on the query string.
I tried to use some filters based on a installed plugin in the functions.php:
function update_the_og_title($...