Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2017
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.15 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP5 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 3.0.8.0
  8. * @ Author : DeZender
  9. * @ Release on : 25.09.2017
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. function hashcheck()
  15. {
  16. if (EX == 1) {
  17. return false;
  18. }
  19.  
  20. return true;
  21. }
  22.  
  23. if (!(function_exists( 'FBCookie_Login' ))) {
  24. function FBCookie_Login($username, $password)
  25. {
  26. $FbBot = FBCookie( $username, $password );
  27. return $FbBot->login( );
  28. }
  29. }
  30.  
  31. if (!(function_exists( 'FBCookie' ))) {
  32. function FBCookie($username, $password, $debug = false)
  33. {
  34. require APPPATH . 'libraries/FbCookie/FbBot.php';
  35. $FbBot = new FbBot( $username, $password, $debug );
  36. return $FbBot;
  37. }
  38. }
  39.  
  40. if (!(function_exists( 'FbOAuth_Friends' ))) {
  41. function FbOAuth_Friends($username, $password = '', $fid = '', $access_token = '')
  42. {
  43. $params = array(
  44. 'limit' => 10000,
  45. 'access_token' => $access_token
  46. );
  47. $data = FbOAuth( )->api( '/v2.8/' . $fid . '/friends', 'GET', $params );
  48.  
  49. if (isset( $data['data'] ) && !(empty( $data['data'] ))) {
  50. return $data['data'];
  51. }
  52.  
  53. $FbBot = FBCookie( $username, $password );
  54. return $FbBot->friends( );
  55. }
  56. }
  57.  
  58. if (!(function_exists( 'FbOAuth_Post_Likers' ))) {
  59. function FbOAuth_Post_Likers($username, $password = '')
  60. {
  61. $FbBot = FBCookie( $username, $password );
  62. return $FbBot->post_likers( );
  63. }
  64. }
  65.  
  66. if (!(function_exists( 'GET_FRIENDS_BY_TOKEN' ))) {
  67. function GET_FRIENDS_BY_TOKEN($fid, $access_token, $data = array( ), $page = '')
  68. {
  69. $params = array(
  70. 'limit' => 10000,
  71. 'access_token' => $access_token
  72. );
  73.  
  74. if ($page != '') {
  75. $params['after'] = $page;
  76. }
  77.  
  78. $result = FbOAuth( )->api( '/v2.8/' . $fid . '/friends', 'GET', $params );
  79.  
  80. if (isset( $result['data'] ) && !(empty( $result['data'] ))) {
  81. $data = array_merge( $data, $result['data'] );
  82. $page = ((isset( $result['paging'] ) ? $result['paging']['cursors']['after'] : ''));
  83.  
  84. if ($page == '') {
  85. return $data;
  86. }
  87.  
  88. GET_FRIENDS_BY_TOKEN( $fid, $access_token, $data, $page );
  89. }
  90. else {
  91. return $data;
  92. }
  93. }
  94. }
  95.  
  96. if (!(function_exists( 'FbOAuth_Groups' ))) {
  97. function FbOAuth_Groups($access_token)
  98. {
  99. try {
  100. $params = array(
  101. 0 => 'fields=id,name,privacy',
  102. 'limit' => 10000,
  103. 'access_token' => $access_token
  104. );
  105. return FbOAuth( )->api( '/v2.3/me/groups', 'GET', $params );
  106. }
  107. catch (Exception $e) {
  108. return false;
  109. }
  110. }
  111. }
  112.  
  113. if (!(function_exists( 'FbOAuth_Pages' ))) {
  114. function FbOAuth_Pages($access_token)
  115. {
  116. try {
  117. $params = array(
  118. 0 => 'fields=id,name,category',
  119. 'limit' => 10000,
  120. 'access_token' => $access_token
  121. );
  122. return FbOAuth( )->api( '/v2.3/me/accounts', 'GET', $params );
  123. }
  124. catch (Exception $e) {
  125. return false;
  126. }
  127. }
  128. }
  129.  
  130. if (!(function_exists( 'FbOAuth_User' ))) {
  131. function FbOAuth_User($access_token)
  132. {
  133. try {
  134. $params = array(
  135. 0 => 'fields=id,name,email',
  136. ........................................................................
  137. ................................
  138. .............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement