[erlang-questions] erlang2facebook friends_get does not work

Bryan Fink bryan.fink@REDACTED
Sat Jun 13 00:36:18 CEST 2009


On Fri, Jun 12, 2009 at 6:07 PM, Salonee Sinha Roy<ssroy1979@REDACTED> wrote:
> 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}]}

Hi, Salonee.  The error is saying that http:request/4 couldn't be
found.  Did you recently change your Erlang installation, or the boot
scripts for your yaws node?

At your yaws console, does "l(http)." return {module, http} or {error,
nofile}?  At the same console, does "code:get_path()" return a list
with a path to inets-*/ebin?

-Bryan


More information about the erlang-questions mailing list