-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathexamples.html
More file actions
71 lines (66 loc) · 1.66 KB
/
examples.html
File metadata and controls
71 lines (66 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
---
layout: default
title: Examples
permalink: /examples/
section: examples
---
<h1 class="page-header">Examples</h1>
<ul>
<li>
<a href="#examples-basic-api">Basic API</a>
</li>
<li>
<a href="#examples-comments">Comments</a>
</li>
<li>
<a href="#examples-posts-feed">Posts Feed</a>
</li>
</ul>
<br>
<a class="anchor" id="examples-basic-api"></a>
<h2>
Basic API
<a class="anchor-link" href="#examples-basic-api">
<span class="glyphicon glyphicon-link"></span>
</a>
</h2>
<p>
Buttons for some API actions.
Useful for linking off-site parent key.
</p>
<p>
<a href="{{ '/example/basic-api/' | relative_url }}">example/basic-api</a>
</p>
<br>
<a class="anchor" id="examples-comments"></a>
<h2>
Comments
<a class="anchor-link" href="#examples-comments">
<span class="glyphicon glyphicon-link"></span>
</a>
</h2>
<p>
Page using Memo accounts for comments.
Creates and links Memo accounts.
Reads and creates Memo posts.
</p>
<p>
<a href="{{ '/example/comments/' | relative_url }}">example/comments</a>
</p>
<br>
<a class="anchor" id="examples-posts-feed"></a>
<h2>
Posts Feed
<a class="anchor-link" href="#examples-posts-feed">
<span class="glyphicon glyphicon-link"></span>
</a>
</h2>
<p>
Live feed of new posts from the Memo network using the
<a href="{{ '/graph/' | relative_url }}">Graph</a> GraphQL indexer.
Recent posts are loaded with the <code>posts_newest</code> query and new posts stream in via the
<code>posts</code> subscription over WebSocket.
</p>
<p>
<a href="{{ '/example/posts-feed/' | relative_url }}">example/posts-feed</a>
</p>