How to add multiple twitter account dynamically in same twitter widget?


#1

how to add multiple twitter account dynamically in same twitter widget ??


#2

Our Twitter web widgets do not support multiple accounts, you need to create separate widgets.


#3

Create a search widget
Where search is perform dynamically (Is this Possible ?)
example:
https://twitter.com/settings/widgets/new/search


#4

I’m not sure what you mean by “search is performed dynamically”.

You can certainly specify a search term for a widget, but you cannot alter the search terms dynamically, they are part of the widget specification.


#5

How to use data-screen-name or data-user-id in place of data-widget-id for multiple account ?


#6

All of the documentation for timeline widgets is available on our dev site.


#7

A widget ID stores preferences across multiple widget instances. If you would always like widgets on your site to display with a dark theme for example, you might set up a widget ID with theme=dark and manage these preferences through the Twitter.com widgets manager.

Widget ID is required. You can override values set in the widget ID by including data-screen-name in your generated markup. You should swap out the fallback link and the inner text of the anchor when you make this customization:

<a class="twitter-timeline" href="https://twitter.com/{screen_name}" data-widget-id="{widget_id}" data-screen-name="{screen_name}">Tweets by @{screen_name}</a>

#8

It’s work for single account , and what about when search is made for multiple account ??
how to separte each account in data-screen-name ?


#9