Quantcast
Channel: Android
Viewing all articles
Browse latest Browse all 21933

Dictionary error with Facebook SDK

$
0
0
I am trying to get the user's locale but I am having trouble doing so. My App has been approved by facebook to use the user_location permission.

In my script I request the permission with: permissions.Add("user_location");

then

FB.API("/me?fields=location", HttpMethod.GET, DisplayLocation);

void DisplayLocation(IResult result)
{
if (result.ResultDictionary.ContainsKey("locale"))
{
FacebookLocation = result.ResultDictionary["locale"];...

Dictionary error with Facebook SDK

Viewing all articles
Browse latest Browse all 21933

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>