0

I am requesting for read permission for user location.

But when user clicks on log in with facebook, i am unable to see "your current city" in logIn Permissions

While running graph api, i am able to receive name, locale and email but not location. Please help.

API call: private void getFBDetails() { GraphRequestrequest=GraphRequest.NewMeRequest(AccessToken.CurrentAccessToken, this); Bundle parameters = new Bundle(); parameters.PutString("fields", "id,name,location,locale,email"); request.Parameters = parameters; request.ExecuteAsync(); }

Smit
  • 2,078
  • 2
  • 17
  • 40
  • so where is your api call? that would be the most important information. – andyrandy Mar 29 '16 at 07:10
  • `private void getFBDetails() { GraphRequestrequest=GraphRequest.NewMeRequest(AccessToken.CurrentAccessToken, this); Bundle parameters = new Bundle(); parameters.PutString("fields", "id,name,location,locale,email"); request.Parameters = parameters; request.ExecuteAsync(); }` @luschn This is what are you refering to? – Smit Mar 29 '16 at 07:13
  • you should not post code in comments, especially when it´s relevant to the question. better edit your question. – andyrandy Mar 29 '16 at 07:14
  • either way, it is possible that the user did not even add a location. it´s more or less a text field. – andyrandy Mar 29 '16 at 07:14
  • @luschn Thanks for the revert. I am currently testing on my testing account and that has every single detail that is needed. – Smit Mar 29 '16 at 07:16
  • what do you mean with "testing account"? is it a fake user on facebook? or did you create a test user in the app? because the first one is not allowed, but would explain why you don´t see the permissions. – andyrandy Mar 29 '16 at 07:28

1 Answers1

1

Most permissions need to go through a review process before they work for every user. Without review, permissions only work for users with a role in the App. Here is all you need to know about that.

The email permission does not need to get reviewed, that´s why it shows up.

itzmebibin
  • 9,199
  • 8
  • 48
  • 62
andyrandy
  • 72,880
  • 8
  • 113
  • 130
  • Thanks @luschn For the review should put in the application with usage of country or no usage of country ? – Smit Mar 29 '16 at 07:45
  • no clue what you mean. just read the docs, everything you need to know about login review is in there. you can also just open the rewiew tab in the app settings, it´s pretty clear what you need to do there. – andyrandy Mar 29 '16 at 07:49