test_facebook.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:PythonStudyCode 作者: TongTongX 项目源码 文件源码
def test_access_with_expired_access_token(self):
        expired_token = (
            "AAABrFmeaJjgBAIshbq5ZBqZBICsmveZCZBi6O4w9HSTkFI73VMtmkL9jLuWs"
            "ZBZC9QMHvJFtSulZAqonZBRIByzGooCZC8DWr0t1M4BL9FARdQwPWPnIqCiFQ")
        graph = facebook.GraphAPI(access_token=expired_token)
        self.assertRaises(facebook.GraphAPIError, graph.get_object, 'me')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号