Permalink
Browse files

[fix] FbGraph: Fix for login permissions

  • Loading branch information...
1 parent 85e76f1 commit d7352dfe05561299cbe6bb8d86c84586f9b530cb Nicolas Glondu committed Oct 28, 2011
Showing with 1 addition and 5 deletions.
  1. +1 −5 stdlib/apis/facebook/rest/rest.opa
@@ -932,11 +932,7 @@ FbRest = {{
expires = loc_int("expires");
secret = loc_string("secret");
} :FbRest.session
- perms = API_libs_private.parse_json(perms)
- perms = JsonOpa.to_list(perms) ? []
- aux(elt) = JsonOpa.to_string(elt) ? ""
- perms = List.map(aux, perms)
-
+ perms = String.explode(",", perms)
(session, perms)
/**

0 comments on commit d7352df

Please sign in to comment.