File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<link rel =" stylesheet " href =" mastodon-timeline.min.css " />
22<script src =" mastodon-timeline.umd.js " ></script >
3- <script >const myTimeline = new MastodonTimeline.Init ();</script >
43
54<div id =" mt-container " class =" mt-container " >
65 <div class =" mt-body " role =" feed " >
76 <div class="mt-loading-spinner"></div>
87 </div >
98</div >
9+
10+ <script >
11+ const myTimeline = new MastodonTimeline.Init ({
12+ mtContainerId: ' mt-container' ,
13+ instanceUrl: ' https://hachyderm.io' , // Change this to your preferred instance
14+ timelineType: ' profile' , // or 'hashtag' or 'profile'
15+ userId: ' 109858074080091787' ,
16+ profileName: ' @R_Forwards' ,
17+ maxNbPostShow: ' 10' ,
18+ maxNbPostFetch: ' 10' ,
19+ insistSearchContainer: true , // This helps with timing issues
20+ insistSearchContainerTime: ' 5000' // Wait up to 5 seconds for container
21+ });
22+ </script >
You can’t perform that action at this time.
0 commit comments