Dhruv Gohil
Dhruv Gohil

Reputation: 842

Not getting user's Facebook Profile picture using SDK

I am working on Xamarin Android Application.I am using Facebook SDK for facebook login.I am fetching user's name and profile picture.Everything was working fine since yesterday but when I try to Log In today, I can not get profile picture but can get Name only.
What should be problem?
Any solution?
Any help or advice are appreciated.
This URL I am using to get profile picture :

ProfilePic_URL = "http://graph.facebook.com/"+e.mProfile.Id+"/picture?type=large";

Upvotes: 2

Views: 497

Answers (2)

Dhruv Gohil
Dhruv Gohil

Reputation: 842

I have just solved my problem by changing http to https in URL.So simple..

Upvotes: 3

Parth Savadiya
Parth Savadiya

Reputation: 1211

I think Your URL is changed. It may be change in your mProfile.id Debug that and Observe which id is get

Upvotes: 1

Related Questions