小编Fri*_*ang的帖子

How do I get a Twitter feed using Pharo?

Since Twitter changed their website design, I cannot get a set of tweets from any account by using built-in Zinc classes. It throws an error that says: ConnectionClosed: Connection closed while waiting for data

I am using Pharo 5, and I don't know how to tweak the ZnClient settings in order to keep the connection open or something to the purpose of getting the data.

testTwitter
    | client |
    self ensureSocketStreamFactory.
    self isNativeSSLPluginPresent ifFalse: [ ^ self ]. 
    (client …
Run Code Online (Sandbox Code Playgroud)

twitter ssl uri smalltalk pharo

5
推荐指数
1
解决办法
117
查看次数

标签 统计

pharo ×1

smalltalk ×1

ssl ×1

twitter ×1

uri ×1