Can i use Hangouts Chat API for application not use for bots? - google-hangouts

Can I use Hangouts Chat API for a application like someone sign in this application and get dm or rooms for my application? I means i don't went to create a bot ,but i went use this API to get info from Hangouts Chat and send messages.

You appear to be asking if you can use the API to write your own client. If so, no, this is not possible. According to the documentation here https://www.googleapis.com/auth/chat.bot is the only scope available to the Hangouts Chat API and:
This scope only works for service accounts—you can't use this scope to authenticate using end-user credentials.

If you are okay with thrid party API, You can try Hangup Bot

Related

Google Hangout API to make a call

I want to make a simple desktop icon that can be clicked to trigger a Google Hangout API call to a specific user.
I can't seem to find the right API to use or way to go about this.
Any suggestions?
i think this is not possible. the new hangouts api is only to create chat bots.
so you could create a chat bot that starts a conversation with a specific user and forwards your messages.

Facebook Developer- Messenger- add multiple webhooks for a single facebook page

I am trying to build a chatbot using Facebook developer platform. I want my bot to respond differently under different scenarios. So, basically I have my standard bot implementation on Heroku server. I want to bring in api.ai into my bot so as to leverage the kind of functionalities api.ai offers.
To bring in api.ai, I need to configure webhook in my Facebook app. As my Facebook app is already subscribed to Heroku, I don't see an option to add another webhook. Is there a way to subscribe my app on Facebook to multiple webhooks?
If not, is there any way to integrate api.ai using api calls from my heroku server?
Thanks in advance!
It's likely you'd probably just forward them along to the next endpoint. Have your server be the frontend, and forward requests from your server to the next webhook if needed.

What is the alternative to using Facebook chat API now that Facebook will soon disable the XMPP API?

Now that Facebook will be completely disabling the XMPP service soon, how do I get around this? Will there be any possible way to send/receive messages in real-time? Do I need to run my own XMPP server?
I assume there is still a way to do this or else desktop apps like Trillian would have to stop offering Facebook connection.
Currently there is no other API that allows you to retrieve the user's chat information.

Is there any way to connect to the Facebook chat service without using the XMPP protocol?

I am trying to create an application that will basically be a Linux command line messenger app just for Facebook chat. When you connect to facebook chat using the XMPProtocol, you can send instant messages to all of your friends but you can only see the messages from the friends that appear online. If an offline friend sends you a message, you do not see it. I have tested this with various chat programs (like pidgin) that are using XMPP to connect to facebook chat.
There is an iPhone app called "Messenger" that allows you to send and receive instant messages even when your friends appear to be offline. How is this possible? Do you have to use some other protocol? I tried making a research about this, and while there were many references about XMPP basically having this limit, there was no reference about how you solve this problem. I'd appreciate any clue regarding the direction I should look (may that be just the name of a protocol, an open source project that has this feature etc).
chat and inbox are two faces of the same Facebook backend ...so i mean you can read message sent by your Facebook friends by Graph Api http GET as this ... https://graph.facebook.com/me/inbox?access_token=xxxxxx

how to make facebook chat?

I want to create an android Facebook chat application , i found this open source project ..
http://coderrr.wordpress.com/2008/05/06/facebook-chat-api/
but i want to ask whether this "Facebook chat api" is still working ?
If no, what is the way to creat a facebook chat ?
Dig a bit deeper into http://developers.facebook.com/docs/chat/. There are a number of XMPP and related APIs for Java, C#, iOS, and Android alike to be found on the web - or you can base such work on the libpurple API from Pidgin (http://www.pidgin.im/). It would behoove you to become familiar with XMPP concepts.
There is great simple code https://github.com/KanybekMomukeyev/FacebookChat , i used it in my app.
Facebook provides their own chat API. See the docs at Integrating with Facebook Chat. They provide sample code in PHP.
You can also use Jabber to authenticate with Facebook. You'll need an application key to ensure this all works.
U can integrate fb chat using facebook authentication or by digest md5...the code given there does not use any API keys nor it uses digest md5 authentication... So not sure whether it ll wrk...try it out... the overall architecture would be
app<->xmpp<->BOSH<->Facebook chat
Since fb support xmpp protocol u can set an xmpp chat client using lib lik smack,strophe,asmack etc...
refer to http://professionalxmpp.com/..great to start with..gives complete idea on hw to go abt...