每个人,
我使用新发布的 Graph API v1.0 做了一个小 django 应用程序。我使用 oauth2 协议获取令牌,刷新令牌。当我使用不同的 Office365 开发人员帐户时,一切正常,但我得到了某人使用他的 Office365 家庭版的回报,他根本无法获得授权。
他收到以下错误消息:
{u'correlation_id': u'9e1b1368-e240-4299-9411-f1780ad977e6',
u'error': u'invalid_grant',
u'error_codes': [65001],
u'error_description': u"AADSTS65001: The user or administrator has not consented to use the application with ID '1db510e8-7ef3-4f8d-9c8b-e6c41015cf34'. Send an interactive authorization request for this user and resource.\r\nTrace ID: 09085256-de74-448b-b481-4d0c4136d115\r\nCorrelation ID: 9e1b1368-e240-4299-9411- f1780ad977e6\r\nTimestamp: 2016-01-26 11:42:34Z",
u'timestamp': u'2016-01-26 11:42:34Z',
u'trace_id': u'09085256-de74-448b-b481-4d0c4136d115'}
是不是只有office365的Developer和business account才能使用Graph API?
非常感谢你的帮助。
问候