how do i receive messages sent to gtalk? - c#

im making an application that needs to get received messages that were sent to google chat. is there an api for working with google chat?
can someone please give me an example in C# how do i receive gtalk messages? im sorry the xmpp documentation is too complex and i do not understand where to start

I believe that Gtalk uses the Jabber/XMPP protocol.
You can find more information on it here: http://xmpp.org/protocols/
Here is a list of APIs you may find useful:
http://xmpp.org/software/libraries.shtml

Related

receive SMPP messages using EasySMPP

I'm developing a SMS sending and receiving application using EasySMPP library. So,I was able to send sms using this library but I can't receive messages using EasySMPP library. Because I can't find a methods for SMPP message receiving in EasySMPP, I'm trying more than 1 week to do it. But,I couldn't succeed yet. Please anyone know how to overcome this problem, let me know.
Finally, doing months of research I found a .net SMPP library for which can be used to send and received messages via SMPP protocol. The library link is https://www.tops.com.pl/en/smscc/
That is very easy to use library and sending messages at high speeds.
InetLab provides a high level library for receive/send SMPP messages. There are useful examples also illustrating how it works. Whole library needed to buy if you want to edit SDK code.

Send sms from C# or VB.NET to mopile phone

I have tried to send an sms from C# code using Gmail but I can't find Gmail services for sending sms. I need any way to do that by Gmail or another posiibility. How can I send an sms from C# or VB.NET program to a mobile phone?
You can use the Twilio to Windows Azure Notification Hub service for this.
Its fairly hard to give you an accurate answer as it can depend on where you are and where you want to send SMS's to as some providers only support some countries or have issues sending to certain networks, so make sure you know what your requirements are before choosing a provider.
In the past I've used Clickatel, as they supported the countries and networks I needed, and their API was good enough.
The only other advice I would give is whatever service you end up using pay for it, free services are more trouble than they are worth.
Hope this helps,
Jen

Send messages to Client with C# using openfire server

Our firm is using message API's to send various alerts to our clients. As the charges are getting high for message API's we are planning to have WhatsApp sort of thing(An Android chat client) on our customer's phone and send messages to them through OpenFire server.
I am new to this. I searched over Internet and found jabber.net but the documentation didn't help me much to get started.
I found this on CodeProject but this is made to connect to GMail (though it is not even connecting to GMail). I tried changing the server to my PC's static IP but it didnt connect to it.
Please note that I am able to connect to OpenFire through Clients like jabiru(Android), Jabber(Android) and Spark(Windows Client) and chat with them. So no problem in server setting.
How should I start about with it.. How can I send messages to various clients on the basis of their username. Sorry for asking a foolish question but I am really stuck.
here you can find a list of XMPP libraries for c# .NET:
http://xmpp.org/xmpp-software/libraries/
All libraries listed there come with documentation and example, also jabber-net. The examples show you how to login and send messages. They should work out of the box with your Openfire server.

Integrating PayPal with console application

I am programming a server, which needs to receive payment information from paypal (PayPal), in C#, but it isn't supposed to be via website (I've found many "walkthroughs" for that), it is supposed to receive the payment information via console, or any other non-graphical way.
Is it possible? If it is, how can I do it? Can I do it via sockets?
I've heard about wcf, but I don't know if it will help me achieve my objectives.
If you could please tell me where to look I'll be very grateful.
Thanks in advance and sorry for any english mistakes.
If you can do it from a C# GUI, you can do it from a console program. You need the PayPal C# SDK.
You can use WebRequest to make arbitrary http requests. Granted, this will be much more difficult than using the aforementioned SDK. You will be building requests and parsing responses; most of which the SDK is doing for you.

How to create an IM bot with C#

Is there an easy way to create an IM bot on multiple im networks (aim, gtalk, yim, etc) that can accept and interpet specific commands sent to it to perform a server related task?
Lets say for instance I have a website for managing an rss feed. I want to send a command to an IM bot to add another feed to my collection. the IM bot would associate my screen name with my account from prior setup on the website.
I have done some internal bots for my company using the XMPP (Jabber) protocol, I've used the agsXMPP SDK and the Jabber.NET client libraries, I was looking for APIS to work with YIM, AIM and Windows Live Messenger but I've found only COM exposed APIS, nothing for .NET...
But an idea comes to my mind, with the XMPP Protocol you can configure a local server with IM Gateways, that allow users to access networks using other protocols through your server
I use eJabberd, you can install a variety of transport gateways to connect with other IM protocols (AIM, MSN, ICQ, GTalk...
To GTalk you can connect directly using the libraries I mention...
A sample ICQ gateway:
The short answer to this question is yes this can be done relitivly easily. Sedning and receiving IMs sending, receiving and interpreting requests from the network you wish to communicate on and there are libraries available for each of the major IM protocols to make this easier.
For messenger you can try the DotMsn library, I have used it in the past but at that time it was still quite new and I have not used it since so I can't vouch for it's quality.
Jabber uses the XMMP protocol which is an open-standard so there are bound to be plenty of client libraries available.
If I recall correctly Google Talk uses this protocol or a modified version thereof.
I dont have experience with c# but I have written one for AIM and Gtalk using PHP. http://www.imified.com/ is the best place to start if you looking for a easier way to write an IM bot.
Basically you create an account in imified.com .
Name your bot and link a script.
When ever a message is sent to the bot, imified.com automatically runs this script.
Here is a link for you get you started!
We have professional .NET/COM/VCL library for MSN/Yahoo/ICQ/AIM/GTalk/Jabber. Please take a look at http://www.imcomponents.com/ if you like.

Categories