I have a tricky question: How would it be possible to retrieve tweets and facebook posts information with specific hashtag for example with only client-side code (html or javascript)?

Thanks in advance!

有帮助吗?

解决方案

You could use the public post search of Facebook to do this as descried here: Need help on employing Graph Search parameters for hashtag query on facebook

You can use the JavaScript SDK to do this on the client side. There was a similar question like yours today as well: Need help on employing Graph Search parameters for hashtag query on facebook

For Twitter, you could use the

GET search/tweets

endpoint as descibed here: https://dev.twitter.com/docs/api/1.1/get/search/tweets or use a Search Widget:

https://twitter.com/settings/widgets/new/search

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top