The Social Networking Plugin has once again received a few more - TopicsExpress



          

The Social Networking Plugin has once again received a few more new goodies. New in this version is strongly typed return data for the getFriends and getMe methods from the Facebook class. These methods use some new features from the included Json class which can decode raw JSON directly to custom classes. The big takeaway from these new methods is that they are simple, concise examples of how to strongly type return data. You can use them as a template to strongly type any Graph API methods (or to strongly type any JSON at all that you might be using). Next up is a quick tip for super fast testing of your Graph API calls. First add the following line to the Awake method of your class: Facebook.instance.accessToken = "YOUR_ACCESS_TOKEN"; With that in place you can now test any Facebook class methods right in the Unity editor!
Posted on: Sat, 05 Oct 2013 00:00:01 +0000

Trending Topics



Recently Viewed Topics




© 2015