Menu

Installation of API Keys

Installation of API Keys

From the root path of your installation of the captcha, you will find and have to edit the following file found in /include/constants.php

Bing API Key

The following two defines that is REALFAKE_BING_API1 and REALFAKE_BING_API2 need to have your bing api keys, you will have to set up two of the same or different depending on your resource on the API. Remember it looks it up each time it makes a captcha.

define('REALFAKE_BING_API1', '387hk9kmvsefP4v4b1cOY2JpPohLvfb6cV+8E3EzB3Ic=');
define('REALFAKE_BING_API2', 'lasfkjjmvsefP4v4b1cOY2JpPohLvfb6cV+8E3EzB3Ic=');

You will have to subscribe to the 'search' feature of the BingAPI see: http://datamarket.azure.com/dataset/bing/search

Bit.ly API Key

The following two defines that is REALFAKE_BITLY_USERNAME and REALFAKE_BITLY_APIKEY need to have your bitly.com api keys, you will have to set up two of the same or different depending on your resource on the API. Remember it looks it up each time it makes a captcha.

define('REALFAKE_BITLY_USERNAME', 'someone');
define('REALFAKE_BITLY_APIKEY', 'R_c7ea2d1cd56e57f60abd4883ae023989023');

You will have to subscribe to bitly.com you will have to goto the Advance Setting of the BingAPI see: https://bitly.com/a/settings/advanced and copy the legacy API Details into the above mentioned fields.


Related

Wiki: Home

MongoDB Logo MongoDB