User Tools

Site Tools


admin_menu:addons:twitter_feed:settings:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
admin_menu:addons:twitter_feed:settings:start [2013/07/08 21:19]
geomatt
admin_menu:addons:twitter_feed:settings:start [2014/09/25 16:55] (current)
Line 36: Line 36:
  
 <code html> <code html>
-<a class="twitter-timeline"  href="**https://twitter.com/someone** data-widget-id="**123456789015987**">Tweets by @someone</a> +<a class="twitter-timeline"  href="https://twitter.com/someone"  data-widget-id="123456789015987">Tweets by @someone</a> 
- <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){ +<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){ 
- js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}} +js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}} 
- (document,"script","twitter-wjs");</script>+(document,"script","twitter-wjs");</script>
 </code> </code>
  
-The important parts are bolded, above (and will be different for your specific timeline). Copy those into the "Default href" and "Default data id" settings, respectively.+The important parts are the "href" and "data-widget-id" parameters (in the above example, **https://twitter.com/someone** and **123456789015987**, respectively). Your timeline will have different values, but they will be in the same location. Copy those into the "Default href" and "Default data id" settings, respectively.
  
 When sellers create their own timelines to use with this addon, the process is similar to above, except that they will paste in the entire block of HTML, and the addon will automagically pull out the important bits.  When sellers create their own timelines to use with this addon, the process is similar to above, except that they will paste in the entire block of HTML, and the addon will automagically pull out the important bits. 
admin_menu/addons/twitter_feed/settings/start.1373318350.txt.gz · Last modified: 2014/09/25 16:55 (external edit)