I am creating a facebook chatbot and i can get different kinds of JSON format for persistent menu, quick replies and simple messages. Is there any way that i can differentiate what functionality (i.e. either persistent menu, quick reply, button template) is triggering the webhook call?
Differentiating message event type while catching payload on facebook webhook
376 Views Asked by Sajat Shrestha At
1
There are 1 best solutions below
Related Questions in FACEBOOK
- Facebook Api - Albums/Photos/Comments
- How to get Facebook subscriber count + friend count
- Firebase facebook authentication not working
- Facebook iOS SDK 4 error info.plist
- Why don't any of my facebook share buttons work?
- Can't perform authentication through facebook with Parse
- PlayN and Firefox issues
- How do I stop the facebook send widget from going off the screen?
- Add extended permissions - Facebook
- Pass image, summary, URL to Facebook share button in ASP.NET MVC
- Facebook Open Graph Description in a message length limitation
- Facebook ShareKit image caption not working
- how to display Notification Count in iOS like Facebook
- How to estimate current situation of an old site not created by myself before i launch my new one?
- Facebook Graph API limit publishing to fan page
Related Questions in MENU
- moving a check box in html list and moving it
- Android toolbar context menu for listview items
- Joomla Get menu id from names
- How to add select menu in prestashop?
- Dynamic Menu in Qt Application
- Winforms remove controls on click
- CSS Menu system not working in IOS 8
- Polymer 1.0 How to vertical menu
- html css mega menu drop down
- How to add serial numbers to menu items in wordpress
- How to get HTML of a sidebar content in wordpress?
- Text on a menu becomes invisible
- Change Permalinks to Anchor Links When Using Bootstrap Navwalker
- Div ul list css menu
- Start onActivityResult not being called from menu option
Related Questions in BOTS
- C++ IRC Bot Buffer Error
- Python AttributeError: 'str' object has no attribute 'append' (Specific)
- Problems creating a polling system for a twitch bot
- A good estimate as to how many visitors are bots
- Creating a custom bot rather than using Hubot with Firebase
- Change audio output
- I want to create a bot that can open my bluestacks app player , then install apps to open various apps and then finally close bluestacks .
- Bamboo and xCode Bot solution
- Identify sending user, Python IRC
- How to block "bot*" bot via .htaccess
- Xcode Server Simulator Times Out Waiting 120 Seconds
- Python (2.7.10): Key Error: 'id'
- How can I get these Perl scripts to delay?
- addition with python into a .txt file
- How do I add variable `XP` to `userData.XP` for my Discord.js bot?
Related Questions in MESSENGER
- Updating a two-way java messenger chat to allow multiplie users
- IP Messenger for CentOS 7
- Replacing system emoji with custom emoji on iOS
- Facebook Messenger bot in PHP, what am I doing wrong?
- Why do I need manually tap 'Refresh' in Applozic Chat?
- How to display an emoji in a Facebook Messenger bot?
- cant send a Generic Template from messenger api (facebook)
- Facebook bot appearing as a non-messenger user on certain phones
- Track telegram messenger client
- Difficulties in programming of messenger Telegram on C#
- Third Party SMS/MMS app - import contact info vs. read contact info
- Optional input() statement
- How to request page messaging permissions on facebook apps?
- Unable to create a Webhook for my Facebook Chatbot
- Sent a receipt through Facebook Messenger after user logged in with Facebook
Related Questions in PAYLOAD
- Mule Facebook Null Payload
- Format double in remote push notification message before it is presented
- IIS 8 block request by JSON payload fields
- Minimal spring ws (2.4.0) endpoint with xml payload
- "Send payload error" in HTTP POST - Arduino ESP8266
- How do I build up a payload in Mule?
- Status 400: Invalid multipart payload format when testing
- How to POST data on payload instead of formdata
- Where to get number of bytes received in TCP payload
- shellcode spawning a shell
- ASP MVC - Can I combine authorization attributes with conditional logic?
- push notifications received by a limt number of ios devices
- Akka payload exception catch
- Differentiating message event type while catching payload on facebook webhook
- How to get variable for a customer from a webhook in WooCommerce
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Here is the list of actions, that can trigger webhook by the date 10th Sept 2017. You can differentiate the calls by parsing JSON format. Each one has its own structure encapsulated with a general structure.
To find out more check out the related dev docs:
https://developers.facebook.com/docs/messenger-platform/webhook-reference