title: Facebook - "Cannot query users by their username" solution
body: <p>I am developing an android app. I was using a HttpURLConnection to get profile pictures of facebook users. The URL looks like this:</p>
  <pre><code>http://graph.facebook.com/?ids=username1,username2,username3&amp;fields=picture&amp;type=square
  </code></pre>
  <p>But now, since v2.2 doesn't let me to get profile pictures of users who are not using my facebook app, it throws an error:</p>
  <blockquote>
  <p>{    &quot;error&quot;: {</p>
  <pre><code>  &quot;message&quot;: &quot;(#803) Cannot query users by their username (username1)&quot;,
    &quot;type&quot;: &quot;OAuthException&quot;,
    &quot;code&quot;: 803    } }
  </code></pre>
  </blockquote>
  <p>I am not interested in using &quot;Facebook SDK for Android&quot;. Let's say I use a pop-up webview to authorize my facebook app. What url would let me do the same thing? Is there a simple solution like this:</p>
  <p>graph.facebook.com/?app=<strong>APP-ID</strong>&amp;ids=username1,username2&amp;fields=picture</p>