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/
Related
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.
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 am creating a meteor app. I successfully implemented the facebook login but now the last feature I should implement is to create a chat (involving facebook messenger) between the page(admin) and the user. It should happen through the app. Could I do that with meteor or I should use javascript. The second question, if it is not possible with meteor is how to initialize the messenger conversation, if I by using the facebook user Id which I already know from the registration. I know that there are a lot of discussions about the graph-api but I could not find anything which includes meteor.
You can utilize in app deep linking to direct a user to the messenger.
fb-messenger://user/%s
the %s represents the user-id of the user who will receive the message!
Android as well as iOS will handle these requests properly.
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.
I was thinking of integrating facebook chat into my own site. Is there a JavaScript API for it? If so, can someone point me to a example/tutorial?
Facebook has one chat api to integrate its xmpp based chat into Web-based, desktop, or mobile instant messaging products.
Here is the reference.
https://developers.facebook.com/docs/chat/
Facebook chat is using XMPP. You just need to write an XMPP client in javascript. There's even a book (reasonably good, I read it!): http://professionalxmpp.com/
This is the closest you will get. http://developers.facebook.com/docs/reference/plugins/live-stream/