@@ -473,6 +473,8 @@ private function _detectMethod($method, $params)
473
473
'friendships/incoming ' ,
474
474
'friendships/outgoing ' ,
475
475
'friendships/show ' ,
476
+ 'friends/list ' ,
477
+ 'followers/list ' ,
476
478
477
479
// Users
478
480
'account/settings ' ,
@@ -484,7 +486,6 @@ private function _detectMethod($method, $params)
484
486
'users/search ' ,
485
487
'users/contributees ' ,
486
488
'users/contributors ' ,
487
- 'users/recommendations ' ,
488
489
'users/profile_banner ' ,
489
490
490
491
// Suggested Users
@@ -532,6 +533,9 @@ private function _detectMethod($method, $params)
532
533
'help/tos ' ,
533
534
'application/rate_limit_status ' ,
534
535
536
+ // Old
537
+ 'users/recommendations ' ,
538
+
535
539
// Internal
536
540
'activity/about_me ' ,
537
541
'activity/by_friends ' ,
@@ -565,10 +569,10 @@ private function _detectMethod($method, $params)
565
569
'account/update_profile_background_image ' ,
566
570
'account/update_profile_colors ' ,
567
571
'account/update_profile_image ' ,
568
- 'account/remove_profile_banner ' ,
569
- 'account/update_profile_banner ' ,
570
572
'blocks/create ' ,
571
573
'blocks/destroy ' ,
574
+ 'account/update_profile_banner ' ,
575
+ 'account/remove_profile_banner ' ,
572
576
573
577
// Favorites
574
578
'favorites/destroy ' ,
@@ -593,7 +597,7 @@ private function _detectMethod($method, $params)
593
597
'geo/place ' ,
594
598
595
599
// Spam Reporting
596
- 'report_spam ' ,
600
+ 'users/ report_spam ' ,
597
601
598
602
// OAuth
599
603
'oauth/access_token ' ,
@@ -768,7 +772,7 @@ private function _getEndpoint($method, $method_template)
768
772
* @return mixed The API reply, encoded in the set return_format
769
773
*/
770
774
771
- private function _callApi ($ httpmethod , $ method , $ method_template , $ params = array (), $ multipart = false )
775
+ private function _callApi ($ httpmethod , $ method , $ method_template , $ params = array (), $ multipart = false , $ internal = false )
772
776
{
773
777
if (! function_exists ('curl_init ' )) {
774
778
throw new Exception ('To make API requests, the PHP curl extension must be available. ' );
0 commit comments