Importing Facebook contacts on my website through yahoo contact importer - php

I'm developing a php web-site which should give the possibility to invite Facebook friends of the user.
I've tried openinviter but doesn't work, after googling I think the problem is Facebook does not allow friends'email retrieving through API, nor sending them messages (am I right?)
But there is an authorized application, Yahoo! contact importer, which does the job.
So I was wondering, is there a way to call Yahoo contact importer through Yahoo api? (I've readed a thread on stackoverflow in which a user suggested this).
I've searched in Yahoo documentation, but did not find anything.

You may want to try Facebook's Send Button if all you want to do is to let your users send invitations to their Facebook friends.
If you want to actually get their friends email addresses into your database, you'll need to teach them how to import their Facebook friends into their Yahoo account first.
Once the addresses are in your users Yahoo account, you can integrate with the Yahoo API directly or use a contact importer service like CloudSponge to do it for you.

Related

Pull a user's Google+ or Gmail list of contacts and their email addresses

I'm building an app in which I'm trying to allow a user to log in through Google+ (currently using the Google API PHP Client Library) and pull their entire contact list in to decide if they want to send an email to their list from my app. I can easily see how to allow the user to grant access to multiple permissions through different Google APIs through setting scopes.
I'm struggling to see either what scope I should be setting when making a request and/or what API should accomplish pulling a logged in user's contact list along with each contact's email address.
Any help would be greatly appreciated.
I found the answer, you have to pull contacts with an valid OAuth request through the Google Contacts API. On the documentation page for the Google Contacts API, Google says:
The Google Contacts API allows client applications to view and update a user's contacts. Contacts are stored in the user's Google Account; most Google services have access to the contact list.
You can find the documentation here.
https://developers.google.com/google-apps/contacts/v3/

How can I export my friends' contact information from GMail, Yahoo, and Facebook using PHP?

How can I export my friends' contact information (name, email, etc.) from GMail, Yahoo, and Facebook using PHP?
You need to learn about API access through each of these applications before you can even begin to grab the data. I suggest you Google on acquiring contacts for each of them. I'll help you get started though with a few links: https://developers.google.com/ http://developers.facebook.com/ http://developer.yahoo.com/. If you read up on each of those you should be more than capable of acquiring the information you seek. Just remember that if you plan to get a person who is not you give up this information they need to approve the connection to you through each API.

I need import yahoo contact through api

I need import yahoo contacts through api in to my application . any one have idea or any example please ?
Try the CloudSponge contact importer API. If you use our open source PHP wrapper you'll get up and running really quickly and you'll get all the major address books (not just Yahoo).
I work for CloudSponge, drop me a line at support#cloudsponge.com if you have any questions.
Take a look at the Yahoo! Contacts API (documentation and examples):
Contacts are relationships that exist in your Yahoo! address book, such as those entered from across the Yahoo! Network like Yahoo! Mail and Yahoo! Messenger. The API enables your application to leverage those relationships by reading a user's Contacts information safely and securely, respecting that user's privacy and permission settings.

PHP script to send email invitations to join a site

Are there any popular scripts to send invitations to join a website, to user's address book contacts? When he enters email ID and password, it should grab all contacts and email each one using swiftmailer. I only need the grabbing part :)
thanks
What you want to do is to use the API offered by some mail services to retrieve contact information. This is specific per email service. Google, Yahoo and most of the other email providers offer their own set of API that is what you want to use.
In this StackOverflow thread are contained information on how to use these API from PHP.

How do I invite people from MSN, Yahoo into my application?

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.

Categories