嵌入式时间线的动态时间线选择 - Hashtag Timeline [英] Dynamic timeline selection for embedded timelines - Hashtag Timeline
问题描述
我已经按照指南
这是一个示例代码和演示,可用于在 twitter 中进行搜索
1) http://www.codexworld.com/create-custom-twitter-widget-using-php/
2)您也可以查看此示例,这可能会完全满足您的要求.http://dev.kim-maida.com/twitter/
3) 这里是演示代码和代码示例链接.https://github.com/kmaida/twitter-timeline-php
I've followed the guide here to add multiple widgets using the same widget id and this works perfectly fine for User timeline.
Snippet ----
<a class="twitter-timeline" href="https://twitter.com/benward" data-widget-id="[id]" data-screen-name="benward">
<a class="twitter-timeline" href="https://twitter.com/endform" data-widget-id="[id]" data-screen-name="endform">
<a class="twitter-timeline" href="https://twitter.com/kang" data-widget-id="[id]" data-screen-name="kang">
<a class="twitter-timeline" href="https://twitter.com/brianellin" data-widget-id="[id]" data-screen-name="brianellin">
What I would want to do is do the same( show different widgets ) for multiple hashtags - #MH17, #MH370 on the same page. But these tags change for each article on a page.
I want to know if either of these is possible.
- Can I make the same guide available for a search query to this and this without creating a widget manually from the Twitter page. Timeline changes when I change the "data-screen-name" property. Is there something like "data-hashtag-name"?
- Is it possible to use Twitter API or something to automate the process of creating a widget from the browser using Auth Token - Secret?
May be this help you . Here i am sending you some example using this I am get json and render html div
Here is a sample code and demo you can use for search in twitter
1) http://www.codexworld.com/create-custom-twitter-widget-using-php/
2)you can also look into this examle may be this will full fill your requirement . http://dev.kim-maida.com/twitter/
3) here is demo code and code sample link. https://github.com/kmaida/twitter-timeline-php
这篇关于嵌入式时间线的动态时间线选择 - Hashtag Timeline的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!