【发布时间】:2018-04-17 11:44:28
【问题描述】:
https://developer.github.com/v3/activity/notifications/
我正在尝试使用 Github Notifications API 来显示通知,例如
"someone followed my repo", "someone followed me", "someone commented on my repo", etc.
在我的 Android 应用程序上。
在使用它之前,我试图了解它是如何工作的。
当我尝试做时
GET https://api.github.com/notifications?access_token="mytoken"
在 Postman 上看看如果给了,它就给了我
[]
当我让我的朋友在 Github 上关注我时,我预计回复中会出现一些内容,但它仍然给了我
[]
在我的朋友试图关注我之后。
在什么情况下我会收到回复,我应该如何使用它来实现我的目的?
【问题讨论】:
标签: android github github-api