![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
botbuilder-facebook-thumbs-up
Advanced tools
Checks whether the user's message from Bot Framework contains the Facebook Thumbs Up icon, so that the bot can respond to it appropriately.
###Short sample
const thumbsUp = require('botbuilder-facebook-thumbs-up');
// Check whether the user pressed the Facebook Thumbs Up
// button in Messenger, and respond appropriately:
if (thumbsUp.isThere(session)) {
session.send('Haha thanks!');
} else {
// Do the usual bot logic
}
###What's it for?
This package provides a way to check whether the user sent a "Thumbs Up" to your bot in Facebook Messenger by clicking the Thumbs Up button. It works with bots written in Node.js using Microsoft Bot Framework (see the botbuilder
package).
There is only one method called isThere()
, which returns true
if the user sent Thumbs Up, and false in all other cases.
In case you need it, thumbsUp.FULL_URL
contains the full URL of the Facebook thumbs up icon (a PNG file).
###Comments and suggestions If you have any comments, contact me here: https://github.com/catcher-in-the-try/
FAQs
Checks whether the user's message from Bot Framework contains the Facebook Thumbs Up icon, so that the bot can respond to it appropriately.
The npm package botbuilder-facebook-thumbs-up receives a total of 3 weekly downloads. As such, botbuilder-facebook-thumbs-up popularity was classified as not popular.
We found that botbuilder-facebook-thumbs-up demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.