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
3,932
questions
0
votes
0
answers
9
views
Calling /ads_post returns empty data on specific pages
I am using FB Graph API with the endpoint /ads_posts to retrieve the latest comments of my pages. I am currently testing on the Graph API Explorer.
My Problem:
On specific pages (where i have the same ...
0
votes
0
answers
8
views
How to retrieve all comments for a particular ad in facebook Graph API?
this is an Graph API call to retreive information about the ad, what should I additionally type in order to seel all comments associated with this ad?
I tried some videos, chatGPT, read through the ...
0
votes
0
answers
13
views
Open graph image on Facebook Sharing Debugger states image has an invalid content type
I'm trying post on FB and on the in the sharing debugger, all of the og meta tags are being read properly except the og:image.
Sharing debugger for my site
I've tried og:image:secure_url, and I've ...
0
votes
0
answers
9
views
OpenGraph tags not rendering on NextJS application deployed on Vercel
We have a NextJS application and we want to have OpenGraph preview on social sites with an image and snippet. We implemented it following NextJS recommendations:
layout.js
import './globals.css'
...
0
votes
0
answers
12
views
Facebook Graph API: Conversion Dataset ID - Tracking Specs Offline Conversion
We are trying to attach the dataset ID from the Conversion API to the offline conversion tracking specs, but the ID in Ads Manager is different from the ID in the Conversion API.
For example, the ...
0
votes
0
answers
12
views
Facebook fb:app_id Meta Tag Not Detected Despite Correct Setup
I'm trying to implement Facebook Open Graph meta tags on my website to enable better sharing on social media. Specifically, I've included the fb:app_id meta tag as follows:
<meta property="fb:...
0
votes
0
answers
21
views
Images in the thumbnail are not appearing when pasting a URL on Facebook in a React.js application
I'm attempting to showcase thumbnail images, titles, and descriptions when sharing a URL on Facebook or other social media platforms, but it's not displaying as expected. Could you please assist me ...
0
votes
1
answer
26
views
Is there a way to dynamically update og meta tags in angular
I have an ecom angular website and I want to allow users to share products using WhatsApp. The content is generated dynamically from REST API. Therefore I used the angular Meta class in my component....
1
vote
0
answers
19
views
OpenGraph Fadcebook - How to configure the app to post to my Facebook group
Good morning,
I created an app that allows me to post to my groups.
However, I encounter a problem. I have this error:
{
"error": {
"message": "(#200) If posting to a group, ...
0
votes
1
answer
25
views
Why is BeautifulSoup unable to retrieve og:image metadata while Facebook Sharing Debugger is able to do so?
Here is my BeautifulSoup code:
from bs4 import BeautifulSoup
import requests
html = requests.get("https://vt.tiktok.com/ZSLvos3x2/").text
soup = BeautifulSoup(html, 'html.parser')
image = ...
0
votes
0
answers
26
views
Get absolute path with %PUBLIC_URL% in index.html for og:image
I am using %PUBLIC_URL% to load the image in index.html for meta purpose, like this
<meta property="og:image" content="%PUBLIC_URL%/image.png" />
And when inspecting the ...
0
votes
0
answers
21
views
Unable to Share Facebook Ad Pixel using Graph API - Error (#10)
I've been encountering an issue while attempting to share an Ad Dataset (Pixel) using the Graph API. Here are the pertinent details:
Endpoint Used: POST https://graph.facebook.com/v16.0/<PIXEL_ID&...
0
votes
1
answer
20
views
How to identify Lead source in META
I'm new to META ad manager I'll planning to integrate leadgen form to webhook but I didn't get the lead source in webhook whether lead is coming from Facebook or Instagram.
Is there any way to ...
0
votes
1
answer
52
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-...
0
votes
0
answers
19
views
How do you reference an absolute URL in Next.js <Head>?
I am trying to use next/head to dynamically set an og:image, which requires an absolute URL.
<meta property="og:image" content="https://example.com/og.jpg" />
How can I get ...
0
votes
0
answers
19
views
Angular15 Dynamic Og Image Rewrite using nginx
We have a ecommerce web application developed in Angular15 and deployed on an NGINX server. We need to serve dynamic og:image tag (in index.html file) since users will be able to share products listed ...
0
votes
0
answers
15
views
OpenGraph message preview messages are not showing in iMessage, but they're showing everywhere else
We text customers a link to a webpage, and we want it to show up in the link preview. It's working on android, Facebook Messenger, and many other tools. It only shows in iMessage if sent from another ...
0
votes
0
answers
33
views
WhatsApp doesn't show image in link sharing?
Since this year (I think), all my sites with OpenGraph tags does not show image when an section or article is sent on whatsapp.
E.g: My shopping website
Its contains these tags:
<meta property=&...
1
vote
0
answers
84
views
Font File Errors | Open Graph Images Next Js 13 App Directory
I tried the Generate images using code (.js, .ts, .tsx).
But I got an error from my font files.
Here's my code, mostly copy paste from the next js app directory documentation
import { ImageResponse } ...
0
votes
0
answers
39
views
Whatsapp API can't return chats?
I scrolled through their documentation and saw that there's no way of receiving your chats. It says something about them just lasting 24 hours?
Did I read/understand it right and is there no way of ...
1
vote
0
answers
73
views
Need help creating a carousel creative with placement customization using the Meta API
I am currently working on integrating the Meta API for creating ads on Facebook. I am specifically trying to create a carousel creative with placement customization, but I'm facing some challenges ...
0
votes
0
answers
41
views
Django - OGP Image url preview works inconsistently
I've been struggling with this issue for the past few days now and I still can't find the root cause of it so here it goes:
I have a Django blog for which I would like to be able to share links in ...
-1
votes
1
answer
40
views
When I share my website on certain platforms, there is no preview
As stated in the title, when I share my website on platforms like Discord, Facebook, etc., there is no preview available. Does anyone know the reason behind this or how to resolve it?
For instance, ...
0
votes
0
answers
26
views
am having issues with the facebook open graph protocol
I am trying to generate the open graph meta tags via js. but when I try testing if its working am getting no output/feedback.
function generateOpenGraphMetaTags(title,description,imageUrl) {
// ...
4
votes
4
answers
358
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
38
views
How to find facebook post id
Can anyone help me find the Facebook Post ID? For example,
with this post URL: https://www.facebook.com/ProgrammersCreateLife/posts/...
0
votes
0
answers
26
views
I am not able to set the og:title and og:description using react helmet and i am using Create React App(CRA). I am using Cloudflare CDN for hosting
When I use Facebook developer debug tools to find out how my og title and og description is set
https://developers.facebook.com/tools/debug/
I got below result in the Facebook debug tool which is ...
0
votes
0
answers
25
views
Provide raw data in og:image open graph meta tag
I know it's possible to provide an absolute URL as the content for og:image graph meta tag.
However, I have some pages without a picture, but a generated qr code only representing a Lightning Network ...
1
vote
0
answers
33
views
OpenGraph: The webpage preview Title and Image for Reddit posts fails
Test link is here: https://www.reddit.com/r/MacOS/comments/14h90hk/what_browser_do_you_use/
iMessages, WhatsApp, Twitter render preview of this Test link with correct og:title and og:image.
Other ...
0
votes
0
answers
28
views
How to have a Facebook Link Image preview larger than 1200x600,
I've seen a facebook post with a large image preview, larger than the 1200x600 image preview the facebook is cropping everytime.
Here is the comparison to the facebook post I saw to the one I tried to ...
0
votes
0
answers
29
views
get facebook shared post post id and update post
i want to update a image every 30 seconds that i already share in my facebook feed but the api is asking postId but when i try to get postId via api it gives me post url so how can i update post
...
0
votes
0
answers
76
views
List of interests from Facebook Marketing API
I am having difficulty obtaining a complete list of all interests available through the Facebook Marketing API (or Graph API) for use in my web application. Although I have tried using several ...
2
votes
1
answer
540
views
I am unable to generate the Access Token for conversion api in my Facebook pixel's conversion api
I am getting the message as
Missing prerequisite
You can't generate an access token because you don't have admin access to your selected pixel's
business account. To generate an access token, ask an ...
0
votes
1
answer
65
views
How do I add posts to my page through the Facebook api?
I've been trying to figure out the Facebook api for hours now and with all the markers, I get an answer: Unsupported get request. Object with ID '***' does not exist, cannot be loaded due to missing ...
0
votes
1
answer
38
views
The video set in Open Graph from my backend is not displayed
Why do videos from my own backend not work in the player with OpenGraph support, while videos from other websites do work? I'm using NextJS for the frontend and .NET for the backend.
UPD. Removed ...
0
votes
1
answer
181
views
URL preview not working in LINE messenger for Next.js app with OGP settings
I have a Next.js app that uses OGP settings to generate URL previews for social media platforms. It works fine for Facebook debugger and other platforms, but it doesn't work for LINE messenger and ...
0
votes
0
answers
48
views
Can't share my ad account with bm partner through facebook graph api
I need a help from an expert in Facebook Graph API.
I have the following problem with this function: Business to Business.
Specifically with this action: Grant Access to Assets for Another Business ...
1
vote
0
answers
115
views
How can I dynamically generate Facebook and Twitter share images for specific sessions in my React app using react-share?
Dynamically Generating Images in Facebook and Twitter Cards: How to Achieve It?
I would like to implement a "Share to Facebook" or "Share to Twitter" feature in my React app.
In my ...
2
votes
1
answer
466
views
Open Graph meta tags not recognized in NextJS website deployment
I have been working on a NextJS website project and I'm facing an issue with Open Graph meta tags. I have added appropriate meta tags for title, image, and description on all pages of the website to ...
0
votes
0
answers
11
views
What could cause Facebook to remove all my app testers from the roles section?
Any reason why facebook would remove/kill my testers?
The testers disappeared under the app roles section in my developer account section (https://i.stack.imgur.com/ayz7V.png)
I had 6 testers and now ...
2
votes
0
answers
291
views
Anyone else having trouble with the User Token Generator for Instagram basic display testers?
I start here
Every time I click the 'generate' button I get a little popup that says
Error!
Not sure how to get around this, or if the problem is even on my end.
I tried going into incognito in case ...
0
votes
0
answers
11
views
Getting 403 in Facebook sharing debugger
I'm looking for a good way to implement og tags on my angular application,
on my hosted site, when I load certain page, the network tab says 403 but the page loads,
I found this is the reason Facebook ...
0
votes
0
answers
57
views
Create new app to replace disabled App in Facebook Developer
My old Facebook app was disabled due to violating the Facebook Platform Policies, and it seems that it cannot be recovered.
Can I create another app with the same package name? What problems may occur ...
0
votes
0
answers
264
views
Link Previews are not showing updated meta info on React Site (CSR)
I have a blog site created using React-v18 and node-js. I have added default meta tags in index.html which shows the link preview when shared on social media sites.
For every article on the blog, I am ...
0
votes
0
answers
67
views
How to perform open graph in dynamic routing in react js as given below
For other static routes open graph is working fine but when dynamic routes are used it's not
Example code
<Route path="/blogs/:slug" element={<SanityBlog />} />
And this is ...
0
votes
0
answers
123
views
Meta Insights - API/SDK
I'm trying to pull the metrics as seen in the attached image into my own app through FB's API. I don't see any of these as being available through the Insights API though. Can someone guide me as to ...
0
votes
0
answers
28
views
How to pull in creative fields data from Facebook API to google spreadsheet?
function fetchFacebookAdsData() {const accessToken = 'accesstokenkey';const adAccountId = 'acount-id';const apiUrl1 = https://graph.facebook.com/v16.0/act_${adAccountId}/ads?fields=account_id,id,name,...
0
votes
0
answers
34
views
Reliably fetching opengraph data from websites like facebook, twitter, and others
I'm to populate the opengraph data from a list of websites that I have stored in a database. Like facebook pages, twitter, pages, personal websites, etc
However, I keep encountering problems when just ...
0
votes
0
answers
18
views
Facebook Android app default browser not render my webapp images
Facebook Android app default browser not render my website images how can I solve this promlem?
Facebook IOS app default browser rendering properly.
0
votes
0
answers
49
views
I receive a 502 ( Bad Gateway) error when trying to create campaigns with adsets and ads using the Facebook API
I have a Python Django web application, which has an app inside that is used for creating campaigns with adsets and ads using the facebook_business package. The weird thing is that it works fine from ...