erlang2facebook friends_get does not work

Salonee Sinha Roy ssroy1979@REDACTED
Sat Jun 13 00:07:35 CEST 2009


I have the following piece of code , where I attempt to pull the users list
of friends from facebook

{ok,{friends_get_response,Attrs,FriendIds}} =
facebook:friends_get(Session),
This code appears to fail continously for no apparent reason. The errror
message is . Any help would be greatly appreciated.

File: /home/owner/Desktop/erlang/yaws/mask/friends.yaws:1
Reason: {undef,[{http,request,
                      [post,
                       {"http://api.facebook.com/restserver.php",[],
                        "application/x-www-form-urlencoded",

<<"sig=f65714019a9571769eb0d2f9ba12157b&api_key=648e964d7625f3ed0d49cbb55b46c96a&call_id=1244844108928255&method=facebook.friends.get&session_key=2.2Sf_zUUyzui7_BgZhb2fWw__.3600.1244851200-713876569&v=1.0">>},
                       [{timeout,60000}],
                       [{sync,true}]]},
                {facebook,call,2},
                {m4,out,1},
                {yaws_server,deliver_dyn_part,8},
                {yaws_server,aloop,3},
                {yaws_server,acceptor0,2},
                {proc_lib,init_p_do_apply,3}]}

Thanks
Salonee


More information about the erlang-questions mailing list