<commit_before><?php
/**
 * @package StartupAPI
 * @subpackage Authentication
 */
require_once(dirname(__FILE__).'/facebook.php');

class FacebookAuthenticationModule extends AuthenticationModule
{
	private $sdk;

	private $appID;
	private $secret;
	private $permissions;
	private $remember;
	private $show_facepile = true;

	private $headersLoaded = false;

	/**
	 * Cretes Facebook authentication module
	 * @param string $appID Facebook application ID
	 * @param string $secret Facebook application secret (not key)
	 * @param array $permissions Array of additional permissions (e.g. email)
	 * 	full list can be found here: http://developers.facebook.com/docs/authentication/permissions/
	 */
	public function __construct($appID, $secret, $permissions = array(), $remember = true, $options = null)
	{<commit_msg>Made Facebook SDK publicly accessible so apps can use it to make API calls<commit_after><?php
/**
 * @package StartupAPI
 * @subpackage Authentication
 */
require_once(dirname(__FILE__).'/facebook.php');

class FacebookAuthenticationModule extends AuthenticationModule
{
	public $sdk;

	private $appID;
	private $secret;
	private $permissions;
	private $remember;
	private $show_facepile = true;

	private $headersLoaded = false;

	/**
	 * Cretes Facebook authentication module
	 * @param string $appID Facebook application ID
	 * @param string $secret Facebook application secret (not key)
	 * @param array $permissions Array of additional permissions (e.g. email)
	 * 	full list can be found here: http://developers.facebook.com/docs/authentication/permissions/
	 */
	public function __construct($appID, $secret, $permissions = array(), $remember = true, $options = null)
	{
{'fraction_non_alphanumeric': 0.10638297872340426, 'fraction_numerical': 0.0, 'mean_word_length': 5.00354609929078, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 9, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5907727', 'n_tokens_mistral': 488, 'n_tokens_neox': 463, 'n_words': 153}