Skip to content

Commit 7316b78

Browse files
committed
examples
1 parent b600c67 commit 7316b78

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

guides/twitter-screenshot.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@ curl -X POST https://hcti.io/v1/image -u 'UserID:APIKey' \
3737
}'
3838
```
3939

40+
### Result
41+
42+
<div class="code-example" markdown="1">
43+
<div class="hcti-container">
44+
<img src="https://hcti.io/v1/image/019b7170-7bcd-74e0-955c-24adbddf937f" alt="Screenshot of a tweet using the URL method" style="max-width: 100%; border-radius: 8px;" />
45+
</div>
46+
</div>
47+
4048
### Parameters
4149

4250
| Parameter | Value | Description |
@@ -54,12 +62,6 @@ curl -X POST https://hcti.io/v1/image -u 'UserID:APIKey' \
5462

5563
You can also use the X/Twitter embed widget to render a tweet. This gives you a card-style appearance.
5664

57-
<div class="code-example" markdown="1">
58-
<div class="hcti-container">
59-
{% cloudinary /assets/images/tweet.png alt="Generate a screenshot of a tweet automatically" %}
60-
</div>
61-
</div>
62-
6365
HTML
6466
{:.text-delta}
6567
```html
@@ -69,6 +71,14 @@ HTML
6971
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
7072
```
7173

74+
### Result
75+
76+
<div class="code-example" markdown="1">
77+
<div class="hcti-container">
78+
<img src="https://hcti.io/v1/image/019b7170-819f-7c67-a4fa-9d26739b7199" alt="Screenshot of a tweet using the HTML embed method" style="max-width: 100%; border-radius: 8px;" />
79+
</div>
80+
</div>
81+
7282
### Parameters for HTML Embed
7383

7484
| Parameter | Value | Description |

0 commit comments

Comments
 (0)