Receiving the following message when printing in template:

Warning: http_build_query(): Parameter 1 expected to be Array or Object. Incorrect value given in _facebook_pull_feed_cached() (line 253 of D:\www\home\localhost\public_html\sites\all\modules\facebook_pull\facebook_pull.module).

Any ideas where I'm going wrong here?

Comments

Syd Barrett’s picture

facebook_pull_render($graph_id, $type, $app_id, $app_secret, $options = array('limit' => $limit));

so you can write facebook_pull_render($graph_id, $type, $app_id, $app_secret, $options = array('limit' => 12));

Matt B’s picture

Thanks - this should be described better on the module project page http://drupal.org/project/facebook_pull

daveferrara1’s picture

Issue summary: View changes
Status: Active » Closed (fixed)

This is actually set in the admin. The limit is then passed in $options.

$limit = variable_get('facebook_pull_limit', '');