How to send private message to my contacts using PHP Facebook SDK? - javascript

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.

Related

Any API or something which allows to post received whatsApp message in website

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

RabbitMQ send messages to users on website

I am trying to use RabbitMQ to send messages to users on a website. While I know how to communicate between different scripts I can't find anything about how I can get a new user to recieve messages.
Let's take chapter 1 of the tutorial as example: https://www.rabbitmq.com/tutorials/tutorial-one-python.html
How would I be able to send "Hello World" to a user on my website and be displayed in the console? Would it even be possible using python?
Try using the RabbitMQ Web-STOMP plugin: https://www.rabbitmq.com/web-stomp.html
You wouldn't use RabbitMQ for that. It's for communication between different services in your back end, not for sending messages between arbitrary users on your front end.

Add linkedIn Connections as Friends in My Own website using JSAPI

I am developing a site in which I have used LinkedIn JavaScript API for creating account and add LinkedIn Connections as Friends.
I have got all the connections from the LinkedIn on my page,
but how can I add them as friends with each other.
I am struggling with this
please help if anyone can,
Thanks in advance
You can find the documentation for the invitation API of Linkedin here.
However, after reading the documentation, you will see that whoever uses your application to make a new connection will be redirected in Linkedin with the corresponding "invitation message" that is sent on each invitation, so that he verifies the message (or even change it before making the invitation). Thus, your application will not be capable to create new connections, without the person that initiates the connection be informed about that.

How to send facefook notification to the users on a blog post created?

I'm developing a site similar to blog. In that I would like to add a facebook notification feature.
For example, if I created one article it should send a notification to the subscribed facebook users.
I have done facebook share. But I don't know about this.
Note: I'm using asp.net and c# for the web development.
Is this possible. if possible, can someone say a way to achieve it.
First of all You will need to create a facebook application and add your web page as a "Web Page with Facebook login": You can find this setting in application settings. After you will need to log in your blog users via facebook and ask for some basic permissions (No special permission needed for sending notifications.) And after all these steps you will be able to send notifications to your users. Here are some resources that might help you.
https://developers.facebook.com/docs/games/notifications/
https://developers.facebook.com/docs/web/gettingstarted/
Here is the C# SDK resource.

send facebook message using mobile application on Qt

I have a QML application and I am using functions in Javascript to "communicate" with Facebook Graph API. I have succeeded to post on my friend's wall but Now I want to send him a message to his inbox(private message). I noticed that Graph API doesn't support this So is there any other way to send the message? does Facebook offer any payed api that may help me ?!!
Thanks
Facebook inbox and chat share the same Facebook backend , in fact , as you know , we could call it chat if online , inbox if offline
So to send message you should refer to Facebook chat docs
It requires an XMPP authentication and it can be done with some Qt/C++ glue to the QML UI
see https://developers.facebook.com/docs/chat/

Categories

Resources