Getting Player Picture with bad request in unity 5
I am using something like "v2.2/me/picture?g&width=35&height=35&redirect=false" in v2.2, to get player image in with facebook unity sdk 7.2.1, it always return me 400 bad request. I try paste the api in "Graph API" in facebook, it can return the correct url. Is there anything I am missing. I just upgrade my project from unity 4.6 to 5, and update facebook SDK from 6.2.1 to 7.2.1
Answer by zzzzzz789 · Nov 02, 2015 at 10:47 PM
FB.API now explicitly adds the Graph API version to each graph query. So that query will work fine if you drop the v2.2 on the front.
eg:
Yes, example will help. But because there is a lot of update need to be done after upgrade facebook sdk, we have delayed the upgrade. I will check our project against the facebook example later. Anyway, thank you:)