I need to add an invite users functionality to my social networking application so users can invite contacts from their hotmail or yahoo accounts. How do I do this and are there any free open source libraries that do this?
Depending on the service you wish to get the contact information from they might already provide a published API for you.
For example, Yahoo has a contact list API you could use: http://developer.yahoo.com/social/rest_api_guide/contact_api.html
Google also has one: http://code.google.com/apis/contacts/
And so does Windows Live: http://msdn.microsoft.com/en-us/library/bb463974.aspx
If you need something to work with a service without an API then you might have to ask that user for his username and password, use it temporarily to log into his account, download the contact information and then discard the login details. There are obvious privacy and security issues with this approach, however. Nevertheless, it is used quite frequently by many social networking sites.
The same approach can also be used to retrieve buddy information from instant messaging services. You log in (perhaps using an open source IM API) and get their buddy list and contact details.
Just in case anyone was interested - I would like to share this neat piece of code I found off the web. Its free and very easy to setup and integrate. http://openinviter.com is php based and you can extract email contacts from just about any address book there is.
You just need to have curl set up for this.
Related
I currently have Google OAuth 2.0 for authentication. Next I want to be able to use google hangouts in my website so users can chat with each other, along with showing their contact list. So basically I want it to look like how it is on gmail but on my website for hangouts. Main reason for doing this, I want my users to be able use hangouts as a mode of communication. Please let me know if this is possible and provide the necessary resources, an example/demo of this working would really be helpful.
Im afraid there's no API at the moment available (nor plans for that) to access the text chat feature of Hangouts.
yes, you can. More information about google hangouts API here https://developers.google.com/+/hangouts/getting-started
Microsoft Account
I've been looking for a few hours and come to find NO results.
I'm looking for a way to link Xbox360 Accounts to a players profile on my website. I would like to use the Microsoft login to make it legitimate. This way players can't just add random live accounts to their website account.
Usage
Link XboxLive account to their website account for legitimate use and validation.
Other players can view their profile and see the linked Microsoft account.
Unfortunately there is currently no publicly available way to do this. It can only be done if you're a registered developer, in which case you should refer to the documentation on http://developer.xboxlive.com/.
Well, basically what I need to do is log in (and register) a Twitter user on my website.
I have read a lot of Twitter libraries, forums, even here and couldn't find an answer. (Twitter api is not very friendly).
The problem that i'm having is that I need the e-mail of the user because my website requires it for registering an user, and I think that Twitter OAuth doesn't provide that information of the users.
The question is:
Is there anyway that Twitter (and this Library or maybe another) provide me the email of the user logued in with my app?
To end this, the reason why I'm asking here is because in Twitter libraries forums, or even in Twitter forums no one answer the question I'm asking here.
Twitter does not currently provide user email addresses through their API.
https://dev.twitter.com/docs/faq#6718
The only course of action is to ask for the user's email address separately in your application.
I have a simple website that calculates grades of college students. There are different subjects for each department. Each department has almost 42 subjects. I am thinking of providing a username/password authentication to users so that they don't have to input grades for each subject every time. But I do not want users to register on my site by filling a sign up form. I want them to log in via their face book account. I am thinking about it but I can't figure out how i can do this. I have developed my site in CodeIgniter.
I looked for the same solution, here is my blog post about it:
http://blog.biernacki.ca/2010/11/a3m-a-codeigniter-account-authentication-authorization-module-installation/
a3m for CodeIgniter is pretty good at doing what you want, plus it offers all the other openid providers (other than facebook)
Googling "Facebook Connect CodeIgniter" should find you all sorts of resources. For example: http://www.haughin.com/code/facebook/
you could implement openid, there are loads of tutorials on that. then you can port facebook to openid using the methods provided here: Best way to implement Single-Sign-On with all major providers?
so you have a single sign on functionality with all major providers (google,yahoo, aol, facebook, ...)
so i was wondering this: for example: when you subscribe to Facebook you have the option to invite your friends from gmail(if you have a gmail account), so you would enter your gmail login and password and facebook would grab all your contacts from gmail, so i was wondering how this is done? is there an API from Gmail or from Hotmail that permits to program this?
thanks
These sites don't use an all-encompassing API, they take your login you provide and from their side login to Google (for example) as you and scrape it for your contact info.
This is why you should also be very careful about who you trust with that login information.
yes .There r different API's for all of these.you can download them by simply typing contact fetcher script in Google or something like this. They r free.
refer link https://sourceforge.net/projects/contactgrabber
There might not be an API specifically for it, but it's still pretty easy. I did something similar with PHP, using CURL to log in to a website and download reports automatically.
edit: You should be aware that some sites won't like that you do it, and might sue you for it. Always get a permission from the site owner before you try it.