Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
606 views
in Technique[技术] by (71.8m points)

facebook extended permission

i have created a sample test app in developers.facebook.com to access notifications for a facebook account in my WebApplication. When i try to get the accesstoken by navigating to this url

https://graph.facebook.com/oauth/authorize?client_id="+clientId+"&redirect_uri="+redirectURI+"&scope=manage_notifications

from my facebook account for the first time i get oauth dialog where in i login with my facebook login-id and password. Then a popup appears telling me that the app requires access to your basic profile details. Then when i click ok i get one more popup asking me to authorize manage_notifications for this app. When i click ok i am redirected to my web application homepage where i can see list of all notifications for my account.

Now when i try to navigate to the above url and at the oauth dialog, if i login with another Facebook Account i get only a popup saying that the app requires access to my basic profile details but not the popup requesting manage_notifications. And when i click ok i am redirected to my webapp homepage. And i get an error message saying i dont have extended permissions - "manage_notifications"

How do i access notifications for any user in my web application.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

All permissions except

  • public_profile
  • user_friends
  • email

require a review of your app by Facebook before you can use them publically. See https://developers.facebook.com/docs/apps/review/login#do-you-need-review


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

1.4m articles

1.4m replys

5 comments

56.8k users

...