Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP5 Decoder for ionCube Encoder)
- *
- * @ Version : 3.0.8.0
- * @ Author : DeZender
- * @ Release on : 25.09.2017
- * @ Official site : http://DeZender.Net
- *
- */
- function hashcheck()
- {
- if (EX == 1) {
- return false;
- }
- return true;
- }
- if (!(function_exists( 'FBCookie_Login' ))) {
- function FBCookie_Login($username, $password)
- {
- $FbBot = FBCookie( $username, $password );
- return $FbBot->login( );
- }
- }
- if (!(function_exists( 'FBCookie' ))) {
- function FBCookie($username, $password, $debug = false)
- {
- require APPPATH . 'libraries/FbCookie/FbBot.php';
- $FbBot = new FbBot( $username, $password, $debug );
- return $FbBot;
- }
- }
- if (!(function_exists( 'FbOAuth_Friends' ))) {
- function FbOAuth_Friends($username, $password = '', $fid = '', $access_token = '')
- {
- $params = array(
- 'limit' => 10000,
- 'access_token' => $access_token
- );
- $data = FbOAuth( )->api( '/v2.8/' . $fid . '/friends', 'GET', $params );
- if (isset( $data['data'] ) && !(empty( $data['data'] ))) {
- return $data['data'];
- }
- $FbBot = FBCookie( $username, $password );
- return $FbBot->friends( );
- }
- }
- if (!(function_exists( 'FbOAuth_Post_Likers' ))) {
- function FbOAuth_Post_Likers($username, $password = '')
- {
- $FbBot = FBCookie( $username, $password );
- return $FbBot->post_likers( );
- }
- }
- if (!(function_exists( 'GET_FRIENDS_BY_TOKEN' ))) {
- function GET_FRIENDS_BY_TOKEN($fid, $access_token, $data = array( ), $page = '')
- {
- $params = array(
- 'limit' => 10000,
- 'access_token' => $access_token
- );
- if ($page != '') {
- $params['after'] = $page;
- }
- $result = FbOAuth( )->api( '/v2.8/' . $fid . '/friends', 'GET', $params );
- if (isset( $result['data'] ) && !(empty( $result['data'] ))) {
- $data = array_merge( $data, $result['data'] );
- $page = ((isset( $result['paging'] ) ? $result['paging']['cursors']['after'] : ''));
- if ($page == '') {
- return $data;
- }
- GET_FRIENDS_BY_TOKEN( $fid, $access_token, $data, $page );
- }
- else {
- return $data;
- }
- }
- }
- if (!(function_exists( 'FbOAuth_Groups' ))) {
- function FbOAuth_Groups($access_token)
- {
- try {
- $params = array(
- 0 => 'fields=id,name,privacy',
- 'limit' => 10000,
- 'access_token' => $access_token
- );
- return FbOAuth( )->api( '/v2.3/me/groups', 'GET', $params );
- }
- catch (Exception $e) {
- return false;
- }
- }
- }
- if (!(function_exists( 'FbOAuth_Pages' ))) {
- function FbOAuth_Pages($access_token)
- {
- try {
- $params = array(
- 0 => 'fields=id,name,category',
- 'limit' => 10000,
- 'access_token' => $access_token
- );
- return FbOAuth( )->api( '/v2.3/me/accounts', 'GET', $params );
- }
- catch (Exception $e) {
- return false;
- }
- }
- }
- if (!(function_exists( 'FbOAuth_User' ))) {
- function FbOAuth_User($access_token)
- {
- try {
- $params = array(
- 0 => 'fields=id,name,email',
- ........................................................................
- ................................
- .............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement