Project:Drupal for Facebook
Version:6.x-3.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hello,

I was just testing out Drupal for Facebook and clicked on Friend Tracker on Dave's profile page :) in Fb.

Facebook API exception Can't lookup all friends of 624265372; can only lookup for the logged in user (652603822) or ". "for pairs of users.

#0 /f1/content/d4fb/public/profiles/custom/modules/fb/facebook-platform/facebookapi_php5_restlib.php(838): FacebookRestClient->call_method('facebook.fql.qu...', Array)
#1 /f1/content/d4fb/public/profiles/custom/modules/fb/fb.module(431): FacebookRestClient->fql_query('SELECT uid2 FRO...')
#2 /f1/content/d4fb/public/profiles/custom/modules/fb/fb_views.module(90): fb_get_friends('624265372', Object(stdClass))
#3 /f1/content/d4fb/public/profiles/custom/modules/views/views_query.inc(185): fb_views_handler_author_is_friend('filter', Object(_views_query), Array, '1001')
#4 /f1/content/d4fb/public/profiles/custom/modules/views/views_query.inc(18): _views_view_build_arg(Object(_views_query), '1001', Array)
#5 /f1/content/d4fb/public/profiles/custom/modules/views/views_cache.inc(278): _views_build_query(Object(stdClass), Array, Array)
#6 /f1/content/d4fb/public/profiles/custom/modules/views/views.module(557): _views_get_query(Object(stdClass), Array, Array)
#7 /f1/content/d4fb/public/profiles/custom/modules/views/views.module(412): views_build_view('page', Object(stdClass), Array, '1', '25')
#8 [internal function]: views_view_page('friend_tracker', '1001')
#9 /f1/content/d4fb/public/includes/menu.inc(418): call_user_func_array('views_view_page', Array)
#10 /f1/content/d4fb/public/index.php(15): menu_execute_active_handler()
#11 {main}

$_REQUEST:
Array
(
    [q] => fb_cb/1/user/1001/friend_tracker
    [fb_sig_in_canvas] => 1
    [fb_sig_request_method] => GET
    [fb_sig_friends] => 2911615,7723298,8622230,16725840,18804423,61901413,500774772,505456590,506237053,507271374,507332094,507867383,509289161,511324360,511443538,513717457,515567160,520605212,522462493,525685631,529167681,529539508,530443260,532788379,538076515,538594673,538677737,541305409,541596102,542703340,554793925,555805683,555971329,556000278,558483847,560061189,561467798,562048402,562236583,567273631,567512355,572805256,573305475,576376915,576997847,579190080,579448802,581568827,581768658,582387787,583113218,583866217,590426672,591687001,593068125,606448172,609284549,611254304,611575396,612062622,612537921,618534457,619775291,620302973,622921238,623469304,629531317,630801057,633373800,638905604,642627216,643945436,644652391,646088029,648367058,649862115,652616506,653660040,656284793,656352418,658037756,658420572,658594857,666864284,673436378,675185796,676348700,683988091,686797747,688263591,689770043,692015593,693583170,695987853,696850561,698431132,700841497,708381325,708522326,710956560,713029707,714606501,715035634,716123055,717162348,721173105,721936873,723260284,724373428,725620752,726495835,728971706,729444866,731211388,738577589,742863926,748363206,750628638,755009337,758954379,761432206,778825098,779840429,787127239,790038102,798145110,800729095,811714302,819810499,820014656,824925299,826085298,844680321,860465437,881470240,1027610115,1040393393,1071588696,1092827985,1113232833,1115162842,1156056641,1165765233,1166323454,1191308084,1203461026,1230570393,1243165033,1246613146,1277087189,1316704411,1331622686,1549981453,1571464373,1573730908,1610014282,1626454092,1627730353,1663667428
    [fb_sig_position_fix] => 1
    [fb_sig_locale] => en_US
    [fb_sig_in_new_facebook] => 1
    [fb_sig_time] => 1240825824.8863
    [fb_sig_added] => 1
    [fb_sig_profile_update_time] => 1229070714
    [fb_sig_expires] => 0
    [fb_sig_user] => 652603822
    [fb_sig_session_key] => 00ffbf42e049828f0efb2be1-652603822
    [fb_sig_ext_perms] => offline_access,auto_publish_recent_activity
    [fb_sig_api_key] => 66b23639d95bba681f0ef7b4001bfb43
    [fb_sig_app_id] => 4998126732
    [fb_sig] => 82a92da275cb9497c99ac710cbcae343
    [datr] => 545413595
    [reg_fb_gate] => http://apps.facebook.com/drupalforfacebook/comment/reply/1043#comment-form
    [reg_fb_ref] => http://apps.facebook.com/drupalforfacebook/comment/reply/1043#comment-form
    [next] => http://apps.facebook.com/drupalforfacebook/comment/reply/1043#comment-form
    [next_path] => /drupalforfacebook/comment/reply/1043#comment-form
    [fb_canvas_1_SESSe3d67ff944219b2fa7c0b5e945ad1c0a] => fb_canvas_1_00ffbf42e049828f0efb2be1-652603822
)


REQUEST_URI:
/fb_cb/1/user/1001/friend_tracker

Comments

#1

Hey thanks. I'll investigate. Not sure if they changed something about permissions, or if this never worked.

nobody click here