Get contact list from gmail, yahoo, hotmail - api

I wish to write an API that can get the contacts list from Gmail, Yahoo and other e-mails. How can this be done? Are there already existing APIs for them or do I need to write PHP code to extract information?
I need a referral system like DropBox has. Has anyone coded it themselves or is it available as open source?
https://www.dropbox.com/referrals
Please guide me in this regard. Any link or explanation will do the job.
Thanks :)

Google has an API: http://code.google.com/intl/en/apis/contacts/
And Yahoo also has an API: http://developer.yahoo.com/social/contacts/
There exists some other which are mentioned in this thread: PHP APIs for Hotmail, Gmail and Yahoo?

simple 5 step to get contact list from gmail
1. open gmail account
2. click gmail dropdown
3. click on Contacts
4. Click on More dropdown button
5. Now click on Export... , and download email db
http://all-easy-tricks.blogspot.in/p/how-to-get-gmailemail-id-contacts-list.html
click here

Related

How do I create and send Vcard (vcf) from Google Sheets?

I would like to send a Vcard to my email in attachment everytime someone fills out a form on our website. That way I can quickly add this contact to my phone (ios).
Right now we are using Zapier to import all form contact details in a spreadsheet - name, surname, email etc.
Now, I'd like to trigger some service to put those details in a Vcard and send it to me by email.
Is it possible to create a vcf file inside Google Sheets? Then I could send the link to this file to my email. Or there's some other service that creates Vcards and has API I could connect to Google Sheets?
Any other suggestion is more than welcome!
I don't think there's any mention of doing such thing in Sheets API.
However, try to checkout CardDAV protocol, it's the closest thing I find to what you're trying to do.

Instagram api - get all photos by hashtag

I am new to this Instagram API, and I read their doc about endpoints, this is the endpoint that I am using:
/v1/tags/{tag-name}/media/recent?access_token=ACCESS-TOKEN
It is fetching the images, but, only on my accounts photos. I want is, I will give an tag-name, and it wll display all, not just the photos on my account, but all the photos in Instagram too.
I know has been a long time, but just for the record.
Since you need the public_scope permission for this (the permission that gives you access to all public data on instagram, and not only your account) you need your app to be reviewed and approved by Instagram. However, if you're using the API for a one-site personal project, Instagram will not approve it.
Here's from Instagram's docs:
1: Which use case best describes your Instagram integration?
R: I want to display hashtag content and public content on my website.
A: This use case is not supported. We do not approve the
public_content permission for one-off projects such as displaying
hashtag based content on your website. As alternative solution, you
can show your own Instagram content, or find a company that offers
this type of service (content discover, moderation, and display).
You can find more information in the Permission Review documentation.
Your client is in Sandbox Mode and can only search for tags of photos posted by invited users. You have to login into https://www.instagram.com/developer, edit your client and click on the "GO LIVE" button.
If the "GO LIVE" button is disabled, you have get your app reviewed by Instagram first: Click on the Permissions tab and submit for review. (Company Name, Contact Email and Privacy Policy URL are required to start a submission.) Once approved, u will be able to click Go Live.
By hashtag you mean tags.
It works for me. Despite I'm using python client, it should work well when you're developing your own client. Look:
from instagram.client import InstagramAPI
api =InstagramAPI(client_secret=settings.CLIENT_SECRET,
access_token=settings.ACCESS_TOKEN)
result = api.tag_recent_media(tag_name='castle')
media = result[0]
for m in media:
print (m.images)
print (m.user)
print (m.tags)
You can try it and it is working for me.
/v1/tags/{tag-name}/media/recent?client_id={YOUR_CLIENT_ID}
My client id is created before "permission review", it is working now and I am trying to submit permission review to Instagram now, hope it will pass.

Test email and password for Quick Books API Oauth authentication

I want to test connecting to Quick Books using their API. So I've set up everything I need. When I click on a button and it gets me to a page where I should enter an email and a password. I'd like to use their "test" email and password. But I didn't find any anything about that? Do they exist?
There is no "test" username and password.
Either submit a support ticket to Intuit to get a free trial of QuickBooks Online, or just sign up for the 30-day QuickBooks Online free trial to test.

Can I make my application open up a new email in yahoo mail or gmail web clients?

I'm building an address book application. I'd like to allow users to click on a contact in my application, and be directed to their yahoo or gmail webmail, to the compose page, with the "to" field populated with data that I supply. Is this possible?
As for Yahoo I really don't know. For Gmail you can. Just use the bellow URL (changing variables accordingly).
https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=user#example.com
It was just yesterday that I asked a if anyone knew where to find all of Gmail's variables.

how do sites automagically grab profile pictures?

Some sites have the ability to grab your profile picture after you sign up for the first time without the user actually uploading a pic. I think stackoverflow has this functionality at sign as well....How does it work?
It uses gravatar.com I believe. You associate an avatar with your email and then sites can use your email to locate your avatar. There is a plugin for Wordpress. Or google search 'gravatar API' to put it on your own site.
Good luck!
stackoverflow uses gravatars which are linked by your email address. You can read more about how gravatar works on their developer resources page.
There is a site called http://gravatar.com that takes a MD5 hash of your email to load a profile picture
They're using OpenID. Some OpenID providers allow you to upload a profile picture or it wil associate it with your Gravatar's e-mail address (http://en.gravatar.com/).