"fbcmd friends =pages" only returns 100 results.

15 views
Skip to first unread message

Joey Kahn

unread,
Sep 9, 2014, 11:26:36 PM9/9/14
to fb...@googlegroups.com

Facebook allows up to (currently) 5,000 page-likes. fbcmd needs a minor update to show more than 100 of them.

Around line 642 in fbcmd.php (version 1.1), change:

  $fqlPageId = "SELECT page_id FROM page_fan WHERE uid={$fbUser}";

to:

  $fqlPageId = "SELECT page_id FROM page_fan WHERE uid={$fbUser} LIMIT 5000";


Thanks for the nice tool :)

Best,

Joey

Apologies if this is covered in other posts.

B. Henry

unread,
Sep 10, 2014, 7:58:58 AM9/10/14
to fb...@googlegroups.com
Have you tested this?
Is there any way to fix or improve other limits
The worst one is only being able to show 10 posts using stream, but there are oothers for sure.
> --
> ---
> You received this message because you are subscribed to the Google
> Groups "fbcmd" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [1]fbcmd+un...@googlegroups.com.
> For more options, visit [2]https://groups.google.com/d/optout.
>
> References
>
> 1. mailto:fbcmd+un...@googlegroups.com
> 2. https://groups.google.com/d/optout
Reply all
Reply to author
Forward
0 new messages