title: Using the userID to get a large profile picture Facebook
body: <p>I'm a little unsure how to retrieve a large profile picture from facebook current when I use the picture ID. I am loading this URL into my imageview.</p>
  
  <p><a href="http://graph.facebook.com/1454465268197338/picture?type=large" rel="nofollow noreferrer">http://graph.facebook.com/1454465268197338/picture?type=large</a></p>
  
  <p>But it doesn't load, when I enter this though it works.</p>
  
  <p><a href="https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xft1/v/t1.0-1/p200x200/11014854_1403982213245644_5725357301610737602_n.jpg?oh=9d95140ca58c8e13a950e14f63018ff4&amp;oe=55F8A88F&amp;__gda__=1442905098_49d2c7ec583d417722e02a10206c0fb6" rel="nofollow noreferrer">https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xft1/v/t1.0-1/p200x200/11014854_1403982213245644_5725357301610737602_n.jpg?oh=9d95140ca58c8e13a950e14f63018ff4&amp;oe=55F8A88F&amp;<strong>gda</strong>=1442905098_49d2c7ec583d417722e02a10206c0fb6</a></p>
  
  <p>What I put above is the REDIRECTED URL after I put in the first. The problem is I cannot produce that with the userID I am given because I am using this. </p>
  
  <pre><code>@Override
      public void onBindViewHolder(ContactViewHolder contactViewHolder, int i) {
          Event ci = contactList.get(i);
          contactViewHolder.vName.setText(ci.name);
  
          TinyDB userinfo =new TinyDB(context);
  
          String user_id = userinfo.getString("id");
          profile_pic_url ="http://graph.facebook.com/"+user_id+"/picture?type=large";
  
          Picasso.with(context)
                  .load(profile_pic_url)
                  .resize(225, 225)
                  .centerCrop()
                  .into(contactViewHolder.vProfilePic);
  
      }
  </code></pre>
  
  <p>Pay attention to the profile_pic_url.</p>
  
  <p>So ultimately, how can I get the redirected url (because I know that works)?</p>
  
  <p>OR </p>
  
  <p>how can I get a LARGE facebook profile picture url from the user because keep in mind the facebook android id because what I get from this:</p>
  
  <pre><code>                parameters.putString("fields", "id,name,link,picture,friends");
  </code></pre>
  
  <p>IS REALLY SMALL. </p>
  
  <p>I tried using</p>
  
  <p><a href="https://stackoverflow.com/questions/2659000/java-how-to-find-the-redirected-url-of-a-url">Java - How to find the redirected url of a url?</a></p>
  
  <p><a href="https://developers.facebook.com/docs/graph-api/reference/user/picture/" rel="nofollow noreferrer">https://developers.facebook.com/docs/graph-api/reference/user/picture/</a></p>
  
  <p>No luck unfortunately, </p>
  
  <p>help is appreciated. </p>
  
  <p>TYTY</p>