You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1010 B

  1. <div class="narrow">
  2. <?= partial('partials/header') ?>
  3. <h2>Favorite</h2>
  4. <img src="/images/favorite-interface.jpg" style="max-width: 300px; float: right;">
  5. <p>The favorite interface is for creating favorite posts.</p>
  6. <h3>Bookmarklet</h3>
  7. <p>On the favorite interface, you can drag a bookmarklet to your bookmarks toolbar. This will let you favorite pages that you're viewing with a single click.</p>
  8. <h3>Post Properties</h3>
  9. <p>The following properties will be sent in the Micropub request. This request will be sent as a form-encoded request.</p>
  10. <p>The access token is sent in the Authorization HTTP header:</p>
  11. <pre>Authorization: Bearer XXXXXXXXX</pre>
  12. <ul>
  13. <li><code>h=entry</code> - This indicates that this is a request to create a new <a href="https://indieweb.org/h-entry">h-entry</a> post.</li>
  14. <li><code>like-of</code> - This is the URL that you are favoriting.</li>
  15. </ul>
  16. <hr>
  17. <p>Back to <a href="/docs/creating-posts">Creating Posts</a></p>
  18. </div>