您需要将访问令牌存储在服务器上的某个位置,这样您就不必在每次需要代表用户使用 Facebook 的 API 时都要求用户进行身份验证。请注意,访问令牌会过期,因此您只想暂时存储它。
You will want to store the access token somewhere on your server, so that you don't have to ask the user to authenticate every time you need to use Facebook's API on the user's behalf. Note that the access token expires, so you'll only want to store this temporarily.
发布评论
评论(1)
您需要将访问令牌存储在服务器上的某个位置,这样您就不必在每次需要代表用户使用 Facebook 的 API 时都要求用户进行身份验证。请注意,访问令牌会过期,因此您只想暂时存储它。
You will want to store the access token somewhere on your server, so that you don't have to ask the user to authenticate every time you need to use Facebook's API on the user's behalf. Note that the access token expires, so you'll only want to store this temporarily.