Need help in PUN Facebook friends, throws error in friends list.

Options
am implementing Photon with Facebook in unity to do Friends List and chat. And i found one asset when i login i got this error that dictionary is null Here is the Asset link and error
https://github.com/vironitcom/Unity_PlayWithFriendsKIT

<div class="Quote">
KeyNotFoundException: The given key was not present in the dictionary.
System.Collections.Generic.Dictionary`2[System.String,System.Object].get_Item (System.String key) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150)
ChatManager.GetInfoForChat (IResult result) (at Assets/GameWithFriends/Scripts/Managers/ChatManager.cs:100)
FacebookExampleManager.<AuthCallback>m__0 (IGraphResult LoginResult) (at Assets/GameWithFriends/Scripts/Managers/FacebookExampleManager.cs:77)
Facebook.Unity.AsyncRequestString+<Start>d__9.MoveNext ()
UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) (at C:/buildslave/unity/build/Runtime/Export/Coroutines.cs:17)
</div>

<pre><code>
private void GetInfoForChat(IResult result)
{
UserID = result.ResultDictionary["id"].ToString();
var dictionary = (Dictionary<string, object>)Facebook.MiniJSON.Json.Deserialize(result.RawResult);
var friendsDict = (Dictionary<string, object>)dictionary["friends"];
var friendsList = (List<object>)friendsDict["data"];
UserFriendsID = new List<string>();
UserFriendsName = new Dictionary<string, string>();
foreach (var dict in friendsList)
{
UserFriendsID.Add(((Dictionary<string, object>)dict)["id"].ToString());
UserFriendsName.Add(((Dictionary<string, object>)dict)["id"].ToString(), ((Dictionary<string, object>)dict)["name"].ToString());
}
///Start chat
Connect();
}
</code></pre>

Answers