这是我获取线程列表的方式:
page = resource.users().threads().list(
userId='me', q='category: social',
maxResults=50).execute()
threads_list = page.get('threads', [])
当我打印 threads_list 时,我得到的是这样的东西:
[{'id': '16643b797b5cf72d', 'snippet': 'Some normal thread snippet.', 'historyId': '461733'}, {'id': '16642fea8db13893', 'snippet': '\u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c', 'historyId': '461679'}]
在一封来自Twitter的电子邮件的gmail代码段中,“ Windows 10最终将允许您镜像Android手机的应用程序”,但取而代之的是,我得到了一堆零宽度非连接字符。
只有Twitter的片段是这样的,其他所有片段都是正常的。 我现在使用不推荐使用的 oauth2client 来运行流,也许这是问题所在,但我不确定。