Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Scribe 提供具有数据类型Token的访问令牌。但是用于在 java 中访问 facebook 的 restFB api 需要数据类型String中的令牌。那么如何将 Token 数据类型转换为 String 呢?
token 类有 3 个有用的方法:
getToken(返回访问/请求令牌)
getSecret(返回访问/请求 token_secret )
getRawResponse(返回完整的 http 响应)
不知道“数据类型字符串”是什么意思,但您应该能够从中提取所需的信息。