Skip to content

Commit b65a5a1

Browse files
fix: address eighth round of PR review comments
- Complete incomplete sentence in fetch-profile guide - Fix undefined castReplyingToAUrl → cast in messages guide - Remove unimported Hex type annotation in messages guide - Fix "th example" → "the example" typo in casts guide Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 14c06ce commit b65a5a1

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/app/(docs)/developers/guides/querying/fetch-profile/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
</Callout>
88

9-
To fetch profile details, use the
9+
To fetch profile details, use the `userDataByFid` endpoint:
1010

1111
```bash
1212
$ curl http://localhost:3381/v1/userDataByFid\?fid\=1 | jq ".messages[].data.userDataBody"

src/app/(docs)/developers/guides/writing/casts/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const castWithEmojiAndMentions = await makeCastAdd(
8383

8484
A cast can be a reply to another cast, URL or NFT. A reply to another cast is treated as a thread, while a reply to a URL or NFT can be treated as a comment or a [channel](#channels).
8585

86-
The optional parentUrl property can be set to a URL or to an fid-hash value of the cast being replied to, as shown in th example below. See [FIP-2](https://github.com/farcasterxyz/protocol/discussions/71) for more details on reply types.
86+
The optional parentUrl property can be set to a URL or to an fid-hash value of the cast being replied to, as shown in the example below. See [FIP-2](https://github.com/farcasterxyz/protocol/discussions/71) for more details on reply types.
8787

8888
```typescript
8989
/**

src/app/(docs)/developers/guides/writing/messages/page.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import {
2525
FarcasterNetwork,
2626
} from '@farcaster/hub-nodejs';
2727

28-
const ACCOUNT_PRIVATE_KEY: Hex = '0x...'; // Your account key's private key
28+
const ACCOUNT_PRIVATE_KEY = '0x...'; // Your account key's private key
2929
const FID = 123; // Your fid
3030
const FC_NETWORK = FarcasterNetwork.MAINNET;
3131
const ed25519Signer = new NobleEd25519Signer(ACCOUNT_PRIVATE_KEY);
@@ -60,7 +60,7 @@ A cast can be removed by issuing a CastRemove message with the hash of the CastA
6060
```typescript
6161
const castRemove = await makeCastRemove(
6262
{
63-
targetHash: castReplyingToAUrl._unsafeUnwrap().hash,
63+
targetHash: cast._unsafeUnwrap().hash,
6464
},
6565
dataOptions,
6666
ed25519Signer

0 commit comments

Comments
 (0)