fbsamples/web-helloworld — pull request #1 by lpw (2013-02-10 17:57:59+00:00)
Title: Fixed api call to correctly use ? instead of & as first query paramter

There's a mistake in the URL of the FB.api call to get friends:
FB.api('/me/friends&fields=name,picture', function(response) {
where & should be ? to delineate the first query parameter.
This causes the call to fail, should be fixed in docs, and in the demo of the example:
http://www.facebookmobileweb.com/hello/
-Lance.
Documentation URL: https://developers.facebook.com/docs/mobile/web/build/