Hi All<br>I am trying to write a facebook app. My code for calling erlang2facebook method facebook:friends_get/1 is <br><br>{friends_get_Response,Attrs,[X]} = facebook:friends_get(Session),<br> <br><br>I get the following errror from yaws<br>
ERROR erlang code crashed:<br> File: /home/owner/Desktop/erlang/yaws/mask/friends.yaws:3<br>Reason: {noproc,<br> {gen_server,call,<br> [httpc_manager,<br> {request,<br> {request,undefined,<0.71.0>,0,http,<br>
{"<a href="http://api.facebook.com">api.facebook.com</a>",80},<br> "/restserver.php",[],post,<br> {http_request_h,undefined,"keep-alive",undefined,<br>
undefined,undefined,undefined,undefined,<br> undefined,undefined,undefined,undefined,<br> undefined,undefined,undefined,undefined,<br> undefined,"<a href="http://api.facebook.com">api.facebook.com</a>",undefined,undefined,<br>
undefined,undefined,undefined,undefined,<br> undefined,undefined,undefined,[],undefined,<br> undefined,undefined,undefined,"0",undefined,<br>
undefined,undefined,undefined,undefined,<br> undefined,[]},<br> {"application/x-www-form-urlencoded",<br> <<"sig=d2ca310df4f5d5a987bb2c6af23e7690&api_key=648e964d7625f3ed0d49cbb55b46c96a&call_id=1234628320520330&method=facebook.friends.get&session_key=e96b0d4702c06f34e28a68df-713876569&v=1.0">>},<br>
{http_options,"HTTP/1.1",60000,true,[],undefined,<br> false},<br> "<a href="http://api.facebook.com/restserver.php">http://api.facebook.com/restserver.php</a>",[],none,[]}},<br>
infinity]}}<br>Req: {http_request,'GET',<br> {abs_path,"/friends.yaws?session=e96b0d4702c06f34e28a68df%2D713876569&soc=fb&uid=713876569"},<br> {1,1}}<br>
Stack: [{gen_server,call,3},<br> {http,handle_request,6},<br> {facebook,call,2},<br> {m2,out,1},<br> {yaws_server,deliver_dyn_part,8},<br> {yaws_server,aloop,3},<br> {yaws_server,acceptor0,2},<br>
{proc_lib,init_p_do_apply,3}]<br><br><br>Any idea what might be going wrong. Any help would be appreciated.<br>