Get contacts emails from Hotmail/Live - c#

I've been tearing my hair out for a while now about the best way to get import a users email contacts from a variety of different services, I didn't manage to find a decent .net solution and have ended up creating an interface for the open source PHP OpenInviter. However this doesn't work with Hotmail/windows live anymore, so I thought I'd do that myself with the Live Connect API (using REST and OAuth2), however the contacts only return a email_hashes which is no use as I want their actual email addresses, as I'm trying to import them into a new email address book.
Any ideas at all on how to do this or if it's possible at all! OAuth, screen scraping, whatever I'm not fussed I'd just like to get it done.
Thanks

Apparently there is no official solution to this problem (see http://social.msdn.microsoft.com/Forums/en-US/messengerconnect/thread/c5bc9b10-6080-40bf-a7ce-951a60efdfcb/#c5bc9b10-6080-40bf-a7ce-951a60efdfcb).
And according to the forums trying to do it is against terms and conditions (trying things like screen scraping).

I had this problem too. But then I found out that Google Plus is capable of pulling contacts from Hotmail accounts so I just looked at how Google Plus does it.
Just go the the "circles" page and look for the "inviter"-like functionality. There you find Hotmail, and if you look at how it works, you see that you need to add wl.emails and wl.contacts_emails to the scope when you request authorization from the Hotmail user.
As far as I can see you are already familiar with OAUTH and probably just picked wl.basic as the scope?..

Related

Instagram Fetch E-Mail (2019 Fix?)

Few hours ago, Instagram patched a way to see business accounts' E-Mail address. Is there a good API or any other way to fetch business account E-Mail?
I have noticed the same :( not sure if it's an intended change or just a bug (they might already be rolling out the new business hashtag features, so maybe it's due to that).

Issues Configuring WhatsApp API (C#)

I'm trying to configure WhatsApp API in C#. I tried to implement it using examples such as:
http://www.dotnetprogramer.in/2016/01/how-to-send-whatsapp-message-through-csharp-net-application-by-using-csharp-coding.html
Send messages with whatsapi.net?
Looking into the aforementioned examples, i came to know that i'll require a WhatsApp password in order to send a message.
I downloaded a tool named WART (WhatsApp Registration Tool) from this site
https://github.com/mgp25/WART
and tried to get my whatsApp password by adding a phone number in following format.
(xx - xxxxxxxxxx) CountryCode - 10 Digit Phone number
Consider the following image:
But when i ask and request for the Code, this is what it says.
I looked for alternatives and found this useful point
In case WART isn't working, use this online tool: http://watools.es/pwd.html
but unfortunately this site seems to be unavailable.
I ALSO looked into more alternatives and found this WhatsApp API
https://github.com/mgp25/Chat-API/tree/master/examples
but this seems to be in Php, i don't really have the expertise to make the registerTool.php work.
Am i missing something here? Is the whatsApp API deprecated? Any sort of help/direction would really be appreciated.
Thank you.

C# console application that sends a google calendar invitation

I'm a pretty new to C# and am much more familiar with Python. But interfacing with a couple programs is more straightforward with C# so I'm attempting to do what I want with it instead of Python.
I've created a Python application that uses SMTP, but I would really like to leverage the Google Calendar API. When I find C# code examples on how to write it, I'm confused as to what needs to be setup for it to work. Where does the authorization come from? A google app?
I would like a console application that can be run by another program which will send an email (or event invitation) to an Business Google account (in-house, co-workers). I'm lost as to where I need to start. What are the different things I need to accomplish this? I'm confused about whether I need to make a Google App and how to navigate what is involved in authentication, or whether I even need it. I didn't think authentication should be necessary except for the login in and password of the account I'm sending it from. Some direction would be appreciated...
Further Edit: Didn't know an iCal can accomplish an invite, most of the examples seemed to be for Outlook. That might work.
But knowing I can set it up through the business account it superb, thanks...
You don't need to make a Google app - if you have the account information for the Business account then you have the ability to use google's smtp server (your smtp server) to send email given that you have credentials - came concept as if you set up a desktop mail program to send and receive gmail.
Looks like this other stackoverflow question may help you out in the actual sending of the email:
Send e-mail via SMTP using C#.
Here is another article that looks more step by step:
http://forum.codecall.net/topic/65295-c-sending-email-through-smtp/
If it was me:
1. Get the credentials
2. Create .Net app to build and send an email - I would make the console app allow command line arguments as well. DotNetPearls is a great site for quick reference and has an introduction to cmd line with C#: http://www.dotnetperls.com/main
Hope this helps - just happened to see the question and realized I have been down this road before

How to get Messenger contact list through .NET

I want to be able to get the list of Messenger contacts of a certain user through .NET.
I've seen Messenger Connect, but it's still under beta and with limited access.
Any ideas for easier alternatives? I thought it would be as easy as invoking a WCF service.
Thank you for your help.
One option is the Windows Live User Data APIs, which contains the Windows Live Contacts API. See the documentation on retrieving contacts.
Keep in mind that the API is considered deprecated, and will eventually be replaced by Messenger Connect. See this post for more information on a possible timeframe for the service being discontinued.
Try Jbuddy from Zion Software, multiprotocol support.

Login to online accounts

First time poster. Back to programming after being away for a few years, trying to clean off the rust. I'm creating a dashboard that will run initially on my laptop (Macbook Pro, 10.4.x O/S). Amongst other things I want it to retrieve latest information from my online accounts. I'm starting with html, but will probably migrate to something else (TBD, possibly ruby or c#). What would sample code look like for logging into account, going through specific account workflow, retrieve data/docs/other, and pull it back to be stored locally.
It is a little open-ended, apologies and thanks in advance.
Are you looking for something like Google Gears?
It depends on the kind of accounts you want to log onto.
For instance there is a Google has an specific API for that Google Accounts API, other services provide similar API's some other do not.
So it depends pretty much what are your "online accounts" all about and if they do provide a public API or not.
EDIT
As per your comment and for the products you've mentioned, I'll suggest your to start looking at browsers plugin development and to start understanding the HTTP protocol and all the related technologies around it ( HTTPS, encryption, authentication etc. )
The public API let you easily login into an account, but you don't really need one to do it ( although it make life much more simpler ) If you do not have a public API, you can still login into any account by "simply" doing what the browser does. Sending an HTTP(s) request with the appropriate security mechanism and following the protocol.
If you know how does the browser send the request and you have the user trusting your their passwords, the only remaining thing you have to do is ... :) code it.
As of now the question is too broad to be answered. Pick one service at a time and ask specific questions about it.
I would suggest you to start with the previously mentioned "Google Accounts" API and learn from there.
One open source product that already manages google account authentication is "Ubiquity" you can take a peak at their source code and start understanding how do they fetch the user contact list.

Categories

Resources