EasyContact:撈Gmail跟Outlook信箱

最近工作上需要實作

「發信邀請Gmail好友」與「發信邀請Outlook好友」的功能,

發現兩者都支援OAuth2.0協定,進行認證與撈資料。

實作了一個library。目前只撈名字跟email地址

https://github.com/howtomakeaturn/EasyContact

希望能幫需要的人省下一些開發時間:)
ps: 本想支援Yahoo信箱,但發現它只支援OAuth1.0

整個流程比較難實作 orz..

還有需要支援什麼信箱請跟我說 :)

(Photo via  Sean MacEntee, CC licensed)