For JAVA integration, we recommend you to use this version. It can be used with any JAVA version and its a mix of client and server side version.
Please download the below sample code and watch the installation video below. Please
contact support if you have hard time with the integration, we can integrate it for you.
After you download the sample project(Dynamic web project), please open the project using an editor(Eclipse). If you were not able to run the project,
please create a new dynamic web project and copy the files from sample code to your new project.
Go to config.properties file under resource folder and replace the url of oauth.html file and then replace the license keys from your account. Don't have a license key? create a
trial license here
To get imported contacts, goto processor.java, scroll to contacts "if" condition, place a break point to see the
imported contacts.
Friends Inviter:
To get imported friends, goto processor.java, scroll to friends "if" condition, place a
break point to see the imported friends.
Social Connect:
To get imported profile, goto processor.java, scroll to profile "if" condition, place a
break point to see the imported profile.
Still not working?
You clicked on the service icons(such as Gmail, Yahoo, Outlook, Twitter etc) and it doesn't seems to be working? then the problem
could be at the configuration. We need to connect 3 main DOTS inorder to make this work.
Provide correct redirect url when creating the app
Add api key to socialinviter account
Add license key to your project
Fixing Gmail:
Are you getting redirect url mismatch like shown in below screenshot? which means the redirect url(oauth.html) you provided in the Gmail APP
and in socialinviter Gmail configuration doesn't match, both should always match.
Note: sometimes you might get an error with callbackurl between www.xx.com and xx.com and between
http://xx.com and https://xx.com, so carefull with www and https.
Are you getting error while fetching or parsing contacts? which might be because your app might not have permission to access contacts from the
loggedin user. Make sure you have enabled permission for contacts, google+ and gmail as shown in below screenshot.
Fixing Yahoo:
Are you getting error when creating the APP as "Callback Domain must be a valid URL"? if you are trying to provide your localhost url then
Yahoo will not accept localhost as valid domain, please provide 127.0.0.1 as callback domain. Also, make sure you have added the
redirect url(oauth.html) in socialinviter Yahoo configuration as http://127.0.0.1/yourprojectname/oauth.html both domain should always match.
Are you getting error "Something went wrong, please make sure the redirect url is correct"? which means the domain of redirect url(oauth.html) you
provided in the Yahoo APP and in socialinviter Yahoo configuration doesn't match, both should always match.
Fixing Facebook:
Are you getting "Given URL is not allowed" like shown in below screenshot? which means the domain you provided in the Facebook APP
doesn't match with the requested domain, both should always match.
Need code in other programming language?
JAVA is not the one you are looking for? no problem, we have sample code available in asp.net, php and java. Please download the code by going to our
download page.