I am developing a browser plugin where I need to send Facebook chat message using JavaScript(the Plugin will deliver the javascript to Facebook page). But unfortunately i could not find any submit button(because Enter key is basically used to send chat messages) or equivalent event for sending chat messages using Plugin Injected javascript even after reviewing good amount of client side source code of facebook.
So kindly help!
Thanks,
Instead of submit buttons, most chat interfaces send whenever the Enter key is pressed. Check this question out,
Send Facebook chat messages via JavaScript , and let me know if that helps :)
Related
I created a messenger (on web) and i want this website send people notification when someone send them a message (and receiver's browser is close).
I seen before in few website they can do that.
Thank you.
i mean First (when user come to my website), site show something like javascript alert(); with (almost) this text :
This website want send you notification
and two buttons: allow , deny
I'm developing app that sends message to friends with Facebook.
I found many solution on stackoverflow but those answers are not working(already deprecated in facebook.)
Could anyone please tell me how to send message using Facebook api?
Thanks.
There is no way to send messages using the API. You can only send messages to users as page, and users would need to initiate the conversation.
Looking to find a way to make dialogflow send a message to the user every x minutes,
without any intent or user action required.
is there a way to do this? maybe making a custom event?
If someoneone could explain if this is possible that be great.
im also using nodejs for my bot.
No, this isn't possible. Dialogflow is designed for conversational exchanges.
Dialogflow is a NLP engine, It's designed to respond to the user input(either a text input, or an event request).
One way to do resolve this issue is, from the Client side run a thread that will send event request asynchronously after every x minutes, and the bot will reply with a message.
Visit https://dialogflow.com/docs/events/custom-events for more information.
Please reply if you need any more information/example on this.
As #Prisoner said it isn't possible to do with dialogflow itself but you can look into assistant push notifications where you can get permission from user to send notifications and if user allow then you can send notification periodically. You can find more in docs.
Is there any way I can post my received whatsApp messages to my website. Basically I am creating a buy and sell site which allows buyer and seller to post
ads from their whatsapp application too.
The process is a user will send us a message on our whatsapp number with all the details about it ads and we will directly post it on our website without requiring the user to log in our website and post their. Is there any way through which this process can be facilitated. Thanks
Nope, WhatsApp don't give out an API because all the messages are not centralised, instead being on individual devices.
Check here https://www.quora.com/WhatsApp-Why-doesnt-WhatsApp-have-an-API
I'm developing an application for Outlook OWA (Office 365). The application is actually very useful for our organization, but have a problem. The application send information using the .post() method of jQuery when a submit button is pressed. How can I attach this task to the "Send" button of Outlook when is being pressed?
Normally, you would need to handle the Application.ItemSend event. I don't however see how you can use that from your Java code.
How exactly do you display or send the message through Outlook? Does that happen on the client side? Do you just use a mailto link?