ofxTwitter
ofxTwitter copied to clipboard
Fix URL function in Status.cpp
When testing I discovered that the Status.cpp uses the old format for linking directly to tweets and therefore does not work.
In the new scheme, you are supposed to provide a username and an ID for the tweet, and if Twitter does not match it correctly it will then search directly by ID.
For this I have provided the default username as the openframeworks Twitter handle.
Hi, thanks for this -- can you provide a link to the documentation on this and / or an example? It seems odd to hard-code the openframeworks username into this addon?
Hi,
Yeah no worries. I can't find any specific documentation on this which is quite odd, but as you can see [here] (https://stackoverflow.com/questions/5652136/url-for-a-link-to-twitter-for-a-specific-tweet) people have been having issues with the previous way of linking to tweets.
But just a quick example, if you go to the latest open frameworks tweet on the link generated currently you get a sorry not found:
https://twitter.com/statuses/1207134693058961408
But this link with a random username works:
https://twitter.com/RANDOMUSERNAME1222/status/1207134693058961408
Very odd I know!