Questions tagged [facebook-messenger]

Facebook Messenger is an instant messaging service and software application which provides text and voice communication. Integrated with Facebook's web-based Chat feature and built on the open-source MQTT protocol, Messenger lets Facebook users chat with friends both on mobile and on the main website. Information from : Wikipedia

Filter by
Sorted by
Tagged with
1 vote
0 answers
16 views

Can't get user profile for user who write in Messenger

I implemented integration with Facebook Messenger according to the documentation. User login via Login via Facebook for companies. I get the user token and then I get page access token. I register ...
starling's user avatar
  • 271
0 votes
0 answers
35 views

How can I send a message using the requests library in facebook messenger (python)

I wrote a code that can login to messenger, but I couldn't send a message to a user. how can i do this? What I want is to log in to messenger.com and send messages to Instagram users in a txt file in ...
Hulusi's user avatar
  • 1
0 votes
0 answers
58 views

Messenger webhook is not triggering messaging_referrals and messaging_postbacks events when a conversation is started via an ad

I have created an ad that clicks to messenger using Facebook ads API. But I am unable to figure out how to set referral_id or postback payload while creating the Ad. I am receiving only the messages ...
Aromal S's user avatar
0 votes
0 answers
64 views

How should I apply the vue-fb-customer-chat plugin in my nuxt 3 project?

I already install the vue-fb-customer-chat in my nuxt 3 project, and do copy pasting the code from "plugins/vue-fb-customer-chat.js", import Vue from 'vue' import VueFbCustomerChat from 'vue-...
Angelo's user avatar
  • 1
0 votes
0 answers
27 views

Conversations don't go to done despite setting a primary receiver and taking thread control

My facebook app has been set as the primary receiver of my facebook page. New conversations are supposed to be handled by the bot and are handed over to a human agent later, but my conversations ...
rjpj1998's user avatar
  • 297
0 votes
0 answers
95 views

Facebook Messenger send Message to individual, from outside of Messenger App

I have the following requirement and wonder if it is at all possible. I want to create an app, webhook, or Python app that sends a simple message to a single Facebook Messenger user. For example, when ...
Shodgson's user avatar
0 votes
0 answers
51 views

Facebook Conversation API

I'm accessing the conversations through conversation API. The necessary permissions for the API are pages_manage_metadata, pages_read_engagement, and pages_messaging. And the access token is valid too....
tech leads's user avatar
0 votes
1 answer
59 views

Trouble with writing to a csv using utf-8 encoding

I'm trying to ananalyse some facebook messenger data and I'm having trouble with utf-8 encoding. import os import json import datetime from tqdm import tqdm import csv from datetime import datetime ...
uberts64's user avatar
0 votes
0 answers
50 views

Facebook Webhook Event Trigger

I have successfully added the callback URL in the Messenger webhook settings page and used the ColdFusion server to receive token verification and message events. Token verification works fine on the ...
tech leads's user avatar
0 votes
0 answers
52 views

Facebook Graph API Conversation

I am using the GRAPH API Conversation endpoint to fetch the conversation between Messenger and Facebook pages. It gives the user information in the "to" and "from" fields. But the ...
tech leads's user avatar
0 votes
0 answers
48 views

How can I fix 'active access token must be used' error when getting list of Facebook pages a user is managing?

I am trying to implement the flow described here and here I finish the first step (in Flutter) and retrieve the user access token via Facebook Auth. Then I move to the next step, getting a list of ...
jstdk's user avatar
  • 1
0 votes
0 answers
71 views

How can I send pre-filled text via Facebook Messenger web interface using Next.js?

How to send pre-filled text via Facebook Messenger web interface using Next.js? I'm working on a Next.js application and I'm trying to implement a feature where users can send pre-filled text messages ...
Chris Chen's user avatar
0 votes
0 answers
46 views

How to debug the Android facebook messenger app webview?

I have a pwa(Angular website) which is loading the contents in Android Chrome but the same pwa is not loading properly in facebook messenger app once opened from itself by clicking the shared url. So, ...
Chamil Thushantha's user avatar
0 votes
0 answers
142 views

Facebook Messenger API cannot send image with attachment_id

I've followed the docs: https://developers.facebook.com/docs/messenger-platform/send-messages#messaging_types on uploading an image to the facebook graph API. I've successfully uploaded the img, and ...
marcus's user avatar
  • 51
0 votes
0 answers
62 views

How to extend facebook API rate limit?

I send to my customers many messages by messenger API. But after some time i receive error: Calls to this api have exceeded the rate limit. Is there any option to extend this limit? Does facebook have ...
Adam Kozlowski's user avatar
0 votes
0 answers
21 views

Messenger GraphApi - Filter by "updated_time" field

I'm trying to query the conversations and filter by update date. But the "updated_time" field doesn't seem to respect the filter rule. enter image description here I tried as follows, but ...
Hadson Sampaio's user avatar
0 votes
0 answers
107 views

Open graph on Messenger

I have open graph meta tags on each page on my homepage and it works excellent when I post a link on Facebook. Unfortunately it don't work on Messenger. What am I missing here? <meta property="...
SVL's user avatar
  • 37
0 votes
0 answers
46 views

PayPal form submissions shows 404 PayPal page when link is clicked from Facebook messenger in iPhone

Following is the PayPal form and form submission script. It works well in Android and Desktop but when link is opened from Facebook messenger in iPhone, it shows PayPal 404 not found page. Reference ...
Saurav Arya's user avatar
0 votes
0 answers
20 views

I it possible to programmatically connect messenger to a subaccount with Twilio API?

I'm creating an app who allow our customers to connect to their messenger account throw our interface. We want to use Twilio as an engine platform to powered conversations. What we want is to handle ...
Adrien Kouyate's user avatar
0 votes
0 answers
75 views

Facebook app generic template "unsupported attachment" with 5 buttons

We have a chatbot solution connected to Facebook using webhooks, but it is not too long ago in live so there is not much traffic on it yet. A couple days ago we noticed a lot of "unsupported ...
Gábor Major's user avatar
0 votes
0 answers
42 views

Best way to calculate 24 hours window of Facebook Messenger

I notice Facebook Messenger Policy stated that the Page won't be able to send the user a message after 24 hours session/window ended. I am trying to iterate over a list of Facebook User PSIDs, and ...
Stanlee Mok Khaei Leng's user avatar
0 votes
0 answers
104 views

My callbak url is verified with postman but not verified when verifying from facebook messenger

I verify my webhook on postman using this code from the documentation: GET https://www.your-clever-domain-name.com/webhooks? hub.mode=subscribe& hub.verify_token=mytoken& hub.challenge=...
mee's user avatar
  • 688
1 vote
0 answers
83 views

Webhooks not triggered for messaging_postbacks

I am not receiving Webhooks for messaging_postbacks, when general user, who does not have a role in our App, is replying to our Private Reply message. I have the following advance access permssions: ...
Jahnavi reddy's user avatar
0 votes
0 answers
85 views

Messenger Customer Chat is not working in React

I initiated React Messenger Customer Chat using https://www.npmjs.com/package/react-messenger-customer-chat npm package in my react project like the following: import React from "react"; ...
Riyad Hossain's user avatar
0 votes
0 answers
43 views

How to programatically in Handover Protocol mark message as read/done in inbox of facebook messenger?

Handover Protocol of Facebook messenger seems to have changed recently. Lot of online materials I have seen refer to primary and secondary receiver but the docs https://developers.facebook.com/docs/...
Jan's user avatar
  • 1
0 votes
1 answer
194 views

Instagram: invalid message data error while trying to send pushback buttons

Using https://graph.facebook.com/v13.0/me/messages?access_token=pagetoken post url trying to send pushback buttons. But its gives error as: "message": "(#100) Invalid message data"...
SushantPatade's user avatar
0 votes
0 answers
85 views

Instagram Webhook Error, cannot load profile for <igsid>

I'm trying to get instagram messages with webhooks. I cloned the example "OC Coast Clothing IG" in github and upload on heroku. However, when I test the webhook "messages" I get an ...
Muhammet Ali KIRMIZIOGLU's user avatar
0 votes
0 answers
43 views

Requesting the facebook user_messenger_contact scope does not work with test users in facebook

In order to get the consent of a user to contact him via facebook messenger we need to ask the user for his consent during login with facebook. This can be done with the user_messenger_contact scope/...
Stefan's user avatar
  • 1
0 votes
0 answers
58 views

Oauth flow for Meta Workplace

I am attempitng to complete an oauth flow for a workplace app. Following this guide https://developers.facebook.com/docs/workplace/third-party-apps/development , I tried to use this https://work....
Hakeem Baba's user avatar
0 votes
0 answers
634 views

FacebookMessengerShareButton from react share npm

Cant figure out how to add FacebookMessengerShareButton from react share. FacebookShareButton works with no issues, but i need Messenger button. According to docs https://www.npmjs.com/package/react-...
Simon Buryat's user avatar
0 votes
0 answers
16 views

I use user_ref which get from checkbox plugin opt-in webhook to send a message to a user, I cannot receive prior_message after the user replying us

I write a demo web page which contains Checkbox plugin. I set user_ref for the plugin during every rendering. An user click the checkbox and submit subscribe request. Then a opt-in webhook has been ...
user4177322's user avatar
0 votes
1 answer
159 views

How to send PDF file object from Facebook messaging API

I have developed a facebook messenger app in Node.js. I am using PDFKit to generate a PDF and send it to the user from the messenger bot. The problem I am facing is I am not able to send the generated ...
Dummy Cron's user avatar
0 votes
0 answers
129 views

How can I make my script remove the facebook app ID?

I would like to create a button that takes a given link and send it via messenger, so I copied this code: <html> <head> </head> <body> <!-- Load ...
utenteciao utente's user avatar
0 votes
0 answers
58 views

Can we get a Facebook Page Messenger Webhook When Chat "move to done" or into folder "page_done"

I Can't find the ways to get a facebook facebook Page Messenger Webhook When Chat "move to done" or into folder "page_done" only find by API I looking for ways to get a webhooks ...
natee_shipnity's user avatar
0 votes
0 answers
61 views

Share to FB messages from android code with button and image from URL

I would like to update the Facebook SDK version in my app to the latest and am trying to replicate the messenger sharing functionality that I had before. With Facebook SDK 12.3.0 the following code ...
SimonSays's user avatar
  • 10.9k
1 vote
1 answer
689 views

Send text to Viber and Facebook Messenger with Flutter

How can I send a text directly to a specific phone number on Viber? or to a specific person on Facebook messenger? with whatsapp I'm using url_launcher with whatsapp with below code, and it is working ...
Salar Azad's user avatar
0 votes
1 answer
216 views

Cpanel hosted nodejs facebook webhook is verified but not working as per request

I created a private reply bot which replies all comments on my business page. My webhook is hosted to shared hosting(Cpanel) and its verified. but its not responding to any post requests from facebook....
Imangi's user avatar
  • 43
0 votes
0 answers
24 views

Do I have to get Facebook's permission on the use of their logo for communication purposes?

I'm just a hobbyist programmer and I only distribute free apps. I tried reading the statement on the use of Facebook logo but I get confused by technical statements. I want to embed a clickable ...
Kellin Strook's user avatar
0 votes
1 answer
314 views

there's no question mark printing before query params

first way I tried is : static async callSendApi(requestBody) { let url = new URL( `${API_URL}/${PAGE_ID}/messages` ); url.search = new URLSearchParams({ ...
Imangi's user avatar
  • 43
0 votes
0 answers
43 views

I get unknown path components: in messenger api

My api is as follows.. const { URL, URLSearchParams } = require("url"); async callSendApi(requestBody) { let url = new URL(`${API_URL}/${PAGE_ID}/messages`); url.search = new ...
Imangi's user avatar
  • 43
1 vote
2 answers
2k views

How do I integrate messenger chat plugin in react?

I am trying to integrate messenger live chat to my react website. I have tried the npm package react-messenger-chat-plugin but it is not working. I have tried to use the meta business suit to do so, ...
nazanaza's user avatar
0 votes
1 answer
2k views

I can't switch account to my facebook page anymore

Before I am able to switch to my facebook page in Messenger Desktop (Windows 11). After I switch to my main account, I can't be able to switch it back to my page. I hope anyone can help me with this.
jmozzart's user avatar
  • 125
0 votes
1 answer
253 views

How can I Force my web application to load only outside of any 3rd party app webviews?

My website using Google oAuth to let users sign in. I do NOT have a mobile app for this website. However, when a link to my website is shared on Facebook or Facebook messenger, and a user opens that ...
Michael Lang's user avatar
  • 1,110
-1 votes
1 answer
151 views

Where can I find the Handover Protocol setting on the new Facebook Meta Business Suite?

One of the pages I manage has been updated to the new UI and I could not find the setting anymore. The setting can be found here before the UI update. https://flow.ai/blog/handle-facebook-messenger-...
ProNoob's user avatar
  • 83
0 votes
0 answers
858 views

How to lazy load Facebook Chat into Next.js to avoid slow down?

Got this from Google Page Speed: Though I did put loading code in _document.tsx into a setTimeout with 3s timing. <div id="fb-customer-chat" className="fb-customerchat"></...
János's user avatar
  • 33k
0 votes
0 answers
1k views

How to search all links in messenger conversation?

I'd like to find some usefull link I sent to a friend maybe year ago, but so far with no success. I tried http, https, www, /, ... but nothing lists that one, maybe it starts without protocol ...
Dalton's user avatar
  • 357
0 votes
0 answers
215 views

is there a "legal" way to pre-populate facebook messenger text box

I'm working on my local e-commerce website that I created using glideapps.com. And I have removed the "buy" button from my product's page and replaced it with a "message seller" ...
Marvin Faranso's user avatar
1 vote
0 answers
130 views

How to get pages_messaging permission aproved?

I am trying to revive an old Facebook bot. The problem is that I got pages_messaging permission revoked and now the users are not getting replies from the bot. It replies to me, as developer. I sent ...
Martin's user avatar
  • 11
0 votes
1 answer
115 views

Unable to add quick replies after a function in Dialogflow inline editor fulfillment (Facebook messenger)

I can't seem to add quick replies after my messenger chatbot sends an email through an integration with sendgrid. I can add additional comments through agent.add(text), and can also send a card with a ...
timtam222's user avatar
2 votes
0 answers
338 views

webhook not receiving events from Messenger recurring message opt-in

Facebook recently released an optional Recurring Notifications feature for Messenger. My group has attempted to use this feature in our app; in our chatbot flow, we present the user with the opt-in ...
David Tresner-Kirsch's user avatar

1
2 3 4 5
26