My workplace uses cisco jabber as the inhouse chat program. I am looking to provide an automated reply based on a messages I receive with data I update regularly in excel.
How can I use vba to reply to a jabber message? I have been looking around but I have found no user guides.
Any help is appreciated. an example would be great. Thank you!
It seems like the user guide is this one.
https://developer.cisco.com/docs/jabber-bots/#!cisco-jabber-bot-sdk-introduction/cisco-jabber-bot-sdk-introduction
Basically the system runs over nodeJS so you cannot use VBA but you have to work with javascript, in my opinion using excel is not the suggested option and it will be a lot less painful working with native supported format like XML.
Related
I'm new to this site (as a writer. I'm a long time silent-reader..), and doing my first steps in writing simple VB.NET winform/console applications, using VS 2010 system.
I want to start with writing a simple program that will use an API I have access to, for sending SMS messages.
AFAIK, I have to send a GET request, and I should get back a string from the service telling me "Success" or an error code.
I'm sure the idea of sending an URL call is simple and probably asked before me many times.
But nevertheless - I'll appreciate help to start this from scratch and making this to work.
Many thanks at advance!
A lot of the Api's have documentation that'll tell you specifically what languages can interact with their api's. More than likely, vb.net isn't on that list, but you can use another language, (probably something like python) to nail down a small script, then use vb to interact with the output.
When I get a chat message from someone on FB or Gmail, how do I go about creating a program that detects the message and then executes some commands accordingly, all programmatically?
Solutions in C++, Java or Python would be useful.
A suggestion
Use java & jabber (also called xmpp) protocol
Install the smack library (jabber library for java, really good!)
Read about the jabber protocol, in your case pay special attention to the "<presence>" message. The "<presence>" messages will tell you whenever someone connects/disconect/change status on a jabber server.
Code
You need to use an API for Gmail in a language of your choice. Facebook uses Jabber (XMPP) which, again, has APIs in many languages.
You are unlikely to simply receive a solution here, this site works more on a basis of helping you with some code that you've already written.
My school is using a website to manage grades, homework and communication with teachers. Because there is no way to get automatic notification, most students have to use it daily to check manually if there's an update (new message, new grade, etc). Since their service has no API, what should I do to get automatic notifications.
Is there any tools available that automatically notify you (by email or rss feed) of any change in a page by authentifying and checking if the value of a specific field changed?
Should I code my own script?
Is there any tool or library out there that could make this task easier?
Thanks in advance for your answers.
https://www.changedetection.com/
Not sure if it works for secure websites, though.
I just found something interesting. It's called Scrapy. It's an application framework that makes data-mining and structured data extraction easier.
Has anyone experience with Scrapy? Could it solve my problem?
I know how you can use the api in vb.net IM
I wish simply by pressing a button sends a message to all my contacts.
I apologize for my ignorance but I'm still learning, thanks
You don't mention what IM network you're talking about so I'm assuming you're talking about Live Messenger. If that's not the case, only the bit about Pidgin might still be relevant.
Unfortunately, my understanding is that nowdays there's no easy API for doing what you want, and you might have to write your own client to do this, here's a website that discusses the protocol:
http://www.hypothetic.org/docs/msn/index.php
You might also want to look at Pidgin since it supports Messenger and is open source:
http://www.pidgin.im/download/source/
There's a Live Messenger API, but I don't think that can be used to send a message from a standalone VB.Net desktop client since it seems more for writing Addins to the standard Live Messenger client, but here's the information about it in case I'm wrong:
http://msdn.microsoft.com/en-us/library/aa905675.aspx
If you're running XP or earlier you might be able to use the Windows Messenger SDK:
http://msdn.microsoft.com/en-us/library/ms630961%28v=VS.85%29.aspx
Would a script that sets display messages for instant messengers be simple or complex? After some searching, there doesn't seem to be any information about this at all.
For the sake of an example, if I had a text file of quotations, would it be possible to have the google talk display message change to a different quotation hourly?
Depends on which client you're using. As far as I know, Google's client doesn't offer any interface for plugins, but the open source instant messenger Pidgin does. I think there already is a plugin for what you want to do, but you can write your own using the documentation and examples they give you.
The complexity of writing something like this is based on how much C or Perl you know, since you can program in either of those for Pidgin. Reading code from other people's plugins, you should be able to figure out the Pidgin API.
You can use Kik API to programmatically send rich content and files between mobile applications. It is available for iPhone and Android platforms and takes only about 5 lines of code to integrate into your app. There is more info at the API website: http://www.kik.com/dev
Disclaimer: I'm on of the developers behind Kik API :)