Geni connect by using oauth in PHP

Geni is a genealogy and social networking website. You can easily build family tree and make a poster by various theme.

  http://gem-script.com/image/data/demo_icon.jpg

http://www.mulesoft.org/sites/all/themes/litejazz/images/muleforge/styles/thumbnail/public/icon-git.pnghttp://3.bp.blogspot.com/-vGJWw4FGHOA/UK2X9XclvhI/AAAAAAAAAHY/X_7doDttHDo/s1600/download-now-button.png

Step1 : Create Geni APP

Find the Geni Developer Dashboard and click "New application" link.

 

Good! Get relax! You have created Geni App and note down the APP Id and secret key. Download the source code and edit the following configurations.

Step 2: Include socialmedia_oauth_connect.php in geni.php

include "socialmedia_oauth_connect.php

Step 3: Alter the below configuration in geni.php

$oauth->provider="Geni";
$oauth->client_id = "QJYesAAPXPv2MFC9ycBf1jh65eZc12ATXLP3fJgj";
$oauth->client_secret = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
$oauth->redirect_uri  ="http://ngiriraj.com/socialMedia/oauthlogin/geni.php";

Step 4: Scope definition

$oauth->scope="";

That's all! Now you can load the page in browser and fetch the result.

References:

http://www.geni.com/platform/developer/help/oauth_server_side?version=1
http://www.geni.com/platform/developer/apps
http://www.geni.com/platform/apps/genilogin

About

Loading Facebook Comments ...