I want to build an simple gmail chat bot.
The bot reads the chat messsage of the recipient and responds it..
I have developed the logic for response to the message
but now im stuck with the bot configuration.
How to setup a gmail bot which can receive the message from chat window and give the message to me . and reply my message back to the person in chat ?
note: this question may seem duplicate but i have tried every solution to previous question i am unable to find a complete solution from scratch anywhere.
Hope any when can help me here.
You need to use the Google Talk API. More information can be found here. I have never used it before, but from what I read, you need to have to write your logic in a compatible language to interface with the API and build up from there. Very standard Google API docs, help, etc in the link.
If you know Python there is a library built for this purpose, bot allow developers to quickly and easily deploy bots. I highly recommend you use that. If you don't know Python, there is anoter guide here that explains how to do it with very minimal PHP/Perl code. If you don't know PHP or Perl, there is another resource here that explains how to do it in Node.js. IF you don't know Javascript, here is how to do it in Java.
I don't like publishing links to guides, but the API document should have been enough. These were all found with the Google search term "make a google talk bot".
Related
How can I request users access to two google account simultaneously in flutter?
I have been looking solution for a long time but could not find any. There are few answers available on the internet which suggest using two different projects. But, I doubt that this solution is practical as we need google verification while publishing the app.
And to extend this question a bit further, can we do the same for outlook?
For those who did not get the question
The way Salesforce has both personal and team inbox, how can I implement the same in flutter.
I believe we lack package to solve this problem.
Here is a resource that can be helpful.
https://developers.google.com/identity/protocols/oauth2/native-app
To keep listening to local web server, you can create HTTPServer
I'm making an application for google home as graduation work from my university of systems analysis and development. My difficulty is integrating with an external server.
I'm doing the code in javaScript, node.js and my intents call data from an external service, the server of the company, there is authentication, but even with Json without validation I can not access the data.
I used some examples of the google channel itself in youtube and the documentation of DialogFlow but I can not.
Has someone already done something similar and can you help me?
I need to show telegram channel posts in a website. but I don't know how to export telegram channel into xml. I need to have both texts and images and also other files and media like mp4 - pdf or other things.
Is there any way to do that?
In three steps:
First you need create a bot with #botfather. Then add bot to channel. (There is no need to make bot admin.)
Second use a programming language and write a program that receives message from channel and send it to server.
Third you must provide a way in site back-end to receive posts that your program sends.
For second step i suggest you to use python. there are some modules that can deal with bots.i think in your case telepot can be simplest module that do everything you need.
For third step you must add more details about your site back-end. anyway i suggest you to write a Restful API for back-end and send posts to site with python requests module.
You need to use telegram API to access the content of a channel.
Telegram API is fairly complicated. There are clients in different languages that makes it easier to interact with the API.
I personally worked with Telethon and it's relatively simple to get it work. If you follow the directions on the home page, there is also an interactive client you can play around to get yourself familiar with how it works.
If you are familiar with other languages there are clients for those languages as well. If you prefer any specific language please comment.
I am using OpenTokSDK for iPhone (using it Natively)
I have made the code for calling but just there is one problem.:-
I have to statically Add the SessionID. But i want to generate the ID Dynamically.
How can I do this ?
Please help!
Thanks In Advance
Full disclosure: I am a developer for TokBox.
The only safe way to get session ID and token credentials to the device is by developing an application server that suits the specific needs of your app. We have a number of server-side SDKs available on GitHub (link) that will interface with the OpenTok server API to generate this data.
Note well the server-side SDK is enough to get your credentials generated, but not all devices will be on the same session, so things like user management and application workflows are all considerations that cannot be easily written to an open source library.
That said, we did try to make some of these examples more clear by writing code examples on our blog (link). You can relieve much of the overhead of writing your own application server (no doubt a daunting task, especially the first time around) by leveraging one of the third party signaling services available, like Parse and Pusher, to name two.
Wobbals is correct, and In addition to what Wabbals has mentioned, generating sessions/tokens is very simple, the sample code required for each server language (PHP, NodeJS, C#, Ruby) is located in OpenTok's Github page.
Furthermore, if you choose not to have server side code and use Parse to handle your back-end, there is a wonderful writeup about how to use Parse's cloud code module for OpenTok to generate sessions and tokens.
Good Luck!
I strongly felt that the tokbox tutorial was quite basic but had steeper learning curve. So I ended up wrote out my own app-cum-tutorial.
Though late, I felt compelled to post here:
How To write your first iPhone Video Chat App using parse and opentok(tokbox)
I would like to be send an email to an address that mediawiki can pick up and have mediawiki take it and generate a new page from it as a starting point. More complicated stuff like categories can come later.
I have searched around on the web and not found anything obvious.
I have not developed against mediawiki before but am an able and willing developer.
Thanks for any assistance provided.
There is this extension - EmailToWiki
It relies on a POP3 account being available and has been in Beta for a long time, but it may be a good start for what you want to do.
Have a daemon of some sort running on the server that picks up emails from an account (through POP protocol presumably), use the Mediawiki API to generate stub page.
Instead of a daemon, you could just have a cron job of some form.