Javascript 如何获取Twitter标签id

Javascript 如何获取Twitter标签id,javascript,twitter,Javascript,Twitter,我如何获得#id,例如像这个号码345170787868762112。我从以下示例中获得了它: 也许它不是hashtag,但是有人能解释一下,它是什么,我怎样才能在任何类型的hashtag中找到它 试图用谷歌搜索它,但没有找到任何相关结果。您是否阅读了链接代码中的注释 /** * ### HOW TO CREATE A VALID ID TO USE: ### * Go to www.twitter.com and sign in as normal, go to your settings

我如何获得
#
id,例如像这个号码
345170787868762112
。我从以下示例中获得了它:

也许它不是hashtag,但是有人能解释一下,它是什么,我怎样才能在任何类型的hashtag中找到它


试图用谷歌搜索它,但没有找到任何相关结果。

您是否阅读了链接代码中的注释

/**
 * ### HOW TO CREATE A VALID ID TO USE: ###
 * Go to www.twitter.com and sign in as normal, go to your settings page.
 * Go to "Widgets" on the left hand side.
 * Create a new widget for what you need eg "user time line" or "search" etc.
 * Feel free to check "exclude replies" if you don't want replies in results.
 * Now go back to settings page, and then go back to widgets page and
 * you should see the widget you just created. Click edit.
 * Look at the URL in your web browser, you will see a long number like this:
 * 345735908357048478
 * Use this as your ID below instead!
 */
这些不是hashtags的ID——它们是您之前配置用于搜索hashtags的小部件ID