File: /home/httpd/html/baretube.com/admin/socialNetworking.config.php
<?php
/* TOGGLE SOCIAL NETWORKING APIS */
$enable_facebook_login = false; //enabled login from facebook
$enable_twitter_login = false; //enabled login from twitter
/*
MECHBUNNY TWITTER API INTEGRATION
---------------------------------
HOW TO CREATE A TWITTER APPLICATION
1) Login with your twitter account to https://dev.twitter.com/
2) Click "Create an app"
3) Fill out the form with your site information. Callback URL should be http://www.yourdomain.com/twitter/twitter_postback.php
4) Click "Create Access Token"
5) Enter the information in the variables below. Be careful not to paste any extra spaces before or after the entries.
*/
$twitter_consumer_key = '';
$twitter_consumer_secret = '';
$twitter_auth_key = '';
$twitter_auth_secret = '';
/*
MECHBUNNY FACEBOOK API INTEGRATION
---------------------------------
HOW TO CREATE A FACEBOOK APPLICATION
*** PLEASE NOTE: THE FACEBOOK TERMS OF SERVICE DOES NOT ALLOW ADULT WEBSITE APPLICATIONS! USE AT YOUR OWN RISK ***
1) Login with your facebook account and go to http://developers.facebook.com/?ref=pf
2) Click "Apps" on the top right navigation, then "Go To App", then "Create New App"
3) Enter your App Name, leave "App Namespace" Blank, and Web Hosting unchecked. You may need to verify your facebook account by adding your mobile phone number or credit card at this stage.
4) Enter your App Domain and any other pertanent information. Select "Website" under "Select how your app integrates with facebook". Enter your site url (http://www.yourdomain.com).
5) Enter the App IP and App Secret listed on that page in the variables below. Be careful not to paste any extra spaces before or after the entries.
*/
$fb_appid = ''; // ID aplication from Facebook
$fb_appsecret = '';
$fb_response_url = "$basehttp/facebook_response.php"; //do not edit this one
?>