mirror of
				https://gitlab.com/idotj/mastodon-embed-timeline.git
				synced 2025-10-29 22:22:23 +00:00 
			
		
		
		
	Update README.md
This commit is contained in:
		
							parent
							
								
									9e76b519ec
								
							
						
					
					
						commit
						73f4570e8a
					
				
							
								
								
									
										12
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								README.md
									
									
									
									
									
								
							| @ -30,13 +30,15 @@ and add the following structure in your html page: | |||||||
| </div> | </div> | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| Then you just need to change the profile info. | Now you have a Mastodon timeline running in your page. | ||||||
| At the beginning of the JS file *mastodon-timeline.js* replace the following values: | 
 | ||||||
|  | The next step will be to setup the timeline with your account info. | ||||||
|  | For that, edit the the JS file *mastodon-timeline.js*  and at the beginning replace the following values: | ||||||
| 
 | 
 | ||||||
| ``` | ``` | ||||||
|     instance_uri: 'The Mastodon instance', |     instance_uri:   'Your Mastodon instance', | ||||||
|     user_id: 'Your user ID on Mastodon instance', |     user_id:        'Your user ID on Mastodon instance', | ||||||
|     profile_name: 'Your user name on Mastodon instance', |     profile_name:   'Your user name on Mastodon instance', | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| If you don't find your user_id, just copy your @profile_name and @instance_uri here:   | If you don't find your user_id, just copy your @profile_name and @instance_uri here:   | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 i.j
						i.j