smart-facility / cognicity-reports-twitter

cognicity-reports: NodeJS app - Twitter support for the CogniCity framework
Other
3 stars 2 forks source link

Create URL for tweet #5

Open benatwork99 opened 8 years ago

benatwork99 commented 8 years ago

Do we want a URL created for the tweet?

https://github.com/smart-facility/cognicity-reports-twitter/blob/1a898a6277afacf5de3d62ea5a4c09597a6eebc5/TwitterDataSource.js#L240 is just passing an empty string for now. Gnip returns a link to the tweet - e.g. https://twitter.com/benatwork99/status/732087737625382912, we could construct a similar link using the username and tweet ID.