Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by ff1407 · Nov 02, 2015 at 03:32 PM · unity 5facebooksdk4.6

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

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image meat5000 ♦ · Nov 01, 2015 at 10:10 PM 0
Share

Not enough information. perhaps add some code.

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

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: alt text

see: https://github.com/facebook/facebook-sdk-for-unity/blob/master/Facebook.Unity/Assets/Facebook/Scripts/Constants.cs#L67


graphexample.png (46.0 kB)
Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ff1407 · Nov 03, 2015 at 09:48 AM 0
Share

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:)

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity Facebook SDK v7.9.0 totally doesn't work on iOS (Unity version 5.3.2) 1 Answer

[HELP URGENT] Resolving dependencies. 0 Answers

Failed to re-packages resources. (It's started happened after i imported facebook 7.9.0 sdk) Unity 5.5 1 Answer

FacebookSDK 7.10 - Unity 2017 1 Answer

Facebook SDK 7.10- Unity 2017 - Display Profile Picture 3 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges