Yahoo Invite All Friends Address Book Import Source Code in PHP

Posted By: KP On September 18, 2010 Under Internet, Other, Programming, Yahoo Categories

Invite all feature is best option for viral marketing of your website/ product. If you site is having invite all function, users will invite their friends and bring many new users for free. When you try to get this many users from any PPC marketing you will need to spend in sum thousands dollars.

ylogo

Unfortunately, address book holding companies (Yahoo, Gmail, MSN) do not provide direct import features/ source codes. All they give is API. Not all web masters are coders. So here I am releasing easiest embed type Yahoo address book import source code.

The source code is written using oAuth in PHP. One of the main feature of the script is no password is required.

Demo: http://www.terabug.com/yahoo/

Step 1: Create Application key for your domain. Select Contact API when you are asked which yahoo APIs your app needs.

Visit https://developer.apps.yahoo.com/dashboard/createKey.html

Step 2: Download source code of Address book import http://www.terabug.com/files/yahoo_invite_all.zip

Step 3: Edit config.php and replaced required parameters, keys that you got in step 1.

Your Yahoo Invite All Friends tool is working now, just embed it anywhere you wish to.

Terms of Use: A follow back link to www.terabug.com must stay below window where imported email list appears, titled “Yahoo Address Book Import Tool From TeraBug”.



Share with Friends ( Sharing is Caring! )


Subscribe For E-mail Notification Of Article Updates

Enter your email address:

NOTICE:
DO NOT FORGET TO CLICK ON THE VERIFICATION LINK AFTER SUBSCRIBING,THE VERIFICATION MAIL WILL BE SENT TO YOU FROM "FeedBurner Email Subscriptions".
( What is this? Why I need to do this?)

Related Posts

10 responses. Wanna say something?

  1. Jinal
    Sep 18, 2010 at 11:59:12
    #1

    nice..

    [Reply]

  2. Vineet
    Jun 26, 2011 at 19:13:30
    #2

    Everything works fine but U didn’t add lib folder in the yahoo.zip
    thanks 4 the share

    [Reply]

    Johnel Reply:

    Hello,
    How Aouth.php file can be saved? You can put the content folder “lib” to download?
    Thank you!

    [Reply]

    KP Reply:

    I have given necessary files. Lib can be downloaded from yahoo server. I cannot upload or redistribute it.

    [Reply]

  3. manoj
    Jul 23, 2011 at 11:23:47
    #3

    Its not working …and also library files is missing in your zip.

    Please add working example.

    ————
    codespider

    [Reply]

  4. jason
    Oct 4, 2011 at 16:50:26
    #4

    Thanks for sharing the code. The first part is working for me. Now I need to find out how to send the mail to the recipients. Again, Thanks a lot.

    [Reply]

    KP Reply:

    Just make array of email ids and use php mail function. I have done it in the code though.

    [Reply]

  5. Thuone Em
    Feb 14, 2012 at 11:19:12
    #5

    not works. please check again.

    [Reply]

  6. Avinash Madbhave
    Mar 8, 2012 at 17:57:44
    #6

    Thanks Kunal Pradhan…. your code work for me :) .

    I get lib folder from https://github.com/yahoo/yos-social-php.git repo.

    [Reply]

  7. Pearl
    May 11, 2012 at 17:04:34
    #7

    This code is not working. I have uploaded all code and replace key and all related details with my app but it still just open popup windows. Nothing else happens……

    Plz advice

    [Reply]

Post a Comment

OR