All Questions
249
questions
1
vote
0
answers
108
views
Facebook persistent menu not showing in Messenger (chat bot)
I'm trying to develop Messenger bot on NodeJS, that would:
Create persistent menu
Postback message replies
The issue I'm facing is that the persistent menu only showing for myself (on Desktop and ...
0
votes
1
answer
588
views
Facebook search api to get Id of pages by searching name
I am using the Facebook api, endpoint "search", to get id of any page that i search.
API URL: https://graph.facebook.com/search
SEARCH_PARAMS:
access_token: [User access token]
q: "...
1
vote
0
answers
87
views
Is it possible to post to facebook groups acting as page using meta graph api?
I need to post in facebook groups from a page I own programmatically.
I tried finding docs for it. But the docs for facebook graph api is quite confusing to me. I am not sure if its possible or not.
I ...
5
votes
1
answer
2k
views
How to reserve a global variable name in with vite or rollup? (window.FB)
I'm trying to setup "login with facebook" functionality in my application.
Everything works great locally or if I don't minify my bundle.
However when I minify my bundle output there is a ...
1
vote
2
answers
7k
views
How to get the URL of an image in WhatsApp Business Cloud API, while we send an image through WhatsApp
While working on WhatsApp Business Cloud API, I have to send an Image through WhatsApp. When I send that image I am getting a response as a sha256 base64 string and an imageId. I want to retrieve back ...
0
votes
0
answers
199
views
How to handle the request when the user clicks the not now button during login with facebook
When i click "Not Now" button
during login with facebook it sends me to the previous url along with status code
https://localhost:3000/facebook/redirect?error=access_denied&error_code=...
0
votes
0
answers
285
views
How to get facebook user information using nodejs (oauth)
I am trying to fetch facebook user information using node-oauth but its giving missing page error on the browser when i am trying to perform oauth
Code
oauth2.getAuthorize call:
app.get("/...
0
votes
1
answer
687
views
Submitting a video with Thumbnail to Facebook Graph API for Instagram
I have this endpoint that is currently working flawlessly for both photos and videos.
let mediaContainerUrl = `https://graph.facebook.com/${igUserId}/media`;
As per my users demand I also want to add ...
0
votes
0
answers
683
views
How to get 'public_Profile' of the user from the Facebook access_token using OAuth2
I wanted to use facebook login in the app. I successfully get Facebook Accesstoken and even the user info {id:'###', name:'###'}. But I wanted the users Email and other public_Profile info to register ...
0
votes
0
answers
148
views
Is there a way to obtain the pageID of any Facebook url, using node?
Given a Facebook page url, I want to be able to create fb:// links, which requires the pageID of said url. Has anyone done this and/or knows if it's even possible? I'm using node.
Thankful for any ...
0
votes
1
answer
797
views
Posting Video to Facebook page using graph api gives error
I am following the facebook docs here https://developers.facebook.com/docs/video-api/guides/publishing/ to publish a video to a particular facebook page but I keep getting errors.
Here is my code:
...
0
votes
0
answers
168
views
How to make Facebook Post to a Page public using the Graph API
I created a post to a Facebook Page and got the permalink_url successfully using the api as shown in my code below:
let postUrl = `https://graph.facebook.com/${pageId}/feed`;
let { data } = await ...
0
votes
1
answer
1k
views
How to attach Media to a Facebook Post using the API
I have followed the Facebook documentation to request access token and post to a Facebook Page.
Now, I wish to create a post and attach some photos to that post but Facebook is only posting the text ...
0
votes
0
answers
395
views
how to get fbId of any fb page in nodejs
I am trying to get the fbid of our user's profile to generate the fb://page/fbid
below I have attached my function findFacebookId() to get the fbid and it works for all FB page URLs except the URL is ...
0
votes
1
answer
382
views
Node jS express Authenticate facebook API
hello i new in backend and want to make a Authenticate facebook api with node js using express and i use passport but its not work and give me a page of html code as a response to sign in with ...