I am trying to show contact pictures in my application but I am getting pictures of those who were added manually only and not those which are synced with facebook. How to w
I have tried every solution found on Stack Overflow at the time of writing this and nothing will correctly retrieve a photo that came from Facebook through the official Facebook app account sync adapter.
To be clear, people posting solutions who "think" they work are probably using HTC sense phones that come with a Facebook sync adapter written by HTC that doesn't have the same security requirements as the official Facebook app.
It's a security thing and one of the methods did manage to try to access the bytes of the facebook photo and you will end up with an SqliteException saying that the content requested is restricted.
Same code run as a system process will pull the photo fine. It is just not possible as of right now.