The Benefits
How it works...Your visitors simply provide their login email address and password and our script fetches a list of contacts into an array/list. Your application can then choose to send native MySpace/Friendster/Hi5/Orkut messages to these contacts. As only actual social network messages are sent, not emails, you get more attention of the contacts themselves! (Note: Orkut messages are normally sent by Orkut as Gmail messages) We support both the following features
Easy Integration for PHP, .NET, JavaGet up and running in just 5 minutes! See how. Available for PHP, .NET and Java. Well-thought architecture ensures you are able support new webmails without changing a single line of your code. We've also included a "Unified Inviter Component" for the PHP version, making it much easier for you to integrate it into any PHP applications. All you need to do is
Ready Integration with Third Party Apps!Our PHP library supports the following third party apps through plugins/mods bundled with the distribution.
Growing list of available mods/plugins available here.
Best Features & SupportOur list of supported social networks is growing by the day. Support for new social networks is provided free of charge in our periodic updates. See what our clients are saying. Social networks supported
See Also... |
Features & Benefits
|
System Requirements
| Platform | Requirements | What is included |
|---|---|---|
| PHP |
|
Core library scripts, sample codes, documentation |
| .NET |
|
Core library DLLs, sample codes, documentation |
| Java |
|
Core library JARs, sample codes, documentation |
Sample Codes
<?php
//WARNING! This sample sends messages to all contacts
include_once("abimporter/is_friendster.php");
include_once("abimporter/is_myspace.php");
include_once("abimporter/is_hi5.php");
$email = "myloginemail@somewhere.com";
$pass = "myloginpassword";
$subject = "This is the subject of the message";
$message = "This is the message body";
$obj = new FriendsterInviter;
//$obj = new MySpaceInviter
//$obj = new Hi5Inviter
//$obj = new OrkutInviter
//Perform login. Note that login is required before fetching
//contacts and before sending messages
$res = $obj->login($email,$pass);
if ($res==_ABI_AUTHENTICATION_FAILED) {
echo 'Bad user name or password';
}
else if ($res==_ABI_FAILED) {
echo 'Server error';
}
else if ($res==_ABI_SUCCESS) {
//Logged in!
//Fetch up to 1000 contacts, or 30 pages worth of contacts,
//whichever comes first
$contactlist = $obj->fetchContacts(1000,30);
$n = count($contactlist);
for ($i=0; $iname;
$imgurl = $contact->imgurl;
$uid = $contact->uid;
//$name is the contact name
//$imgurl is the url to the thumbnail image
//$uid is the contact id
//Send message to contact
echo "Sending message to $uid
\r\n";
$obj->sendMessage($uid,$subject,$message);
}
//Thees methods may or may not be available, depending on Invite sender
$obj->postMessage($subject,$message);
$obj->postShoutout("Short message test");
}
else {
$errmsg='Error. Unknown result.';
}
?>
