Content pfp
Content
@
https://warpcast.com/~/channel/fc-devs
0 reply
0 recast
0 reaction

Stephan pfp
Stephan
@stephancill
something missing for most apps that use the farcaster social graph to seed their own network is keeping that social graph in sync for example zora suggests people to follow when you sign up initially but i actually want it to sync my new farcaster follows too
2 replies
0 recast
18 reactions

Stephan pfp
Stephan
@stephancill
i also had this problem when building Stories - the miniapp depends entirely on your farcaster social graph. i could store every user's social graph in my db, but there isn't really a simple way to keep it up to date i ended up fetching all the user's links and checking which of those users are in my db every time they loaded the page to generate their feed, which kinda sucks. would be nice to be able to subscribe to a webhook for a subset of users for when their social graph changes. maybe something neynar would be interested in solving @rish @manan?
2 replies
0 recast
10 reactions

Ryan J. Shaw pfp
Ryan J. Shaw
@rjs
Isn't the reason this is difficult is the same reason hubsync is difficult and they're building snapchain? (Definitely not intractable, just annoying every FC data consumer needs to reinvent the wheel because there's no global event order)
1 reply
0 recast
0 reaction

Stephan pfp
Stephan
@stephancill
i don't think the problem i have is inherently tied to the difficulties with syncing at the network level. just a pain in the ass tracking changes that happen outside of your app
1 reply
0 recast
0 reaction

Ryan J. Shaw pfp
Ryan J. Shaw
@rjs
hmm maybe I'm misunderstanding then... If the events had monotonic sequence identifiers doesn't your problem become much simpler? Right now you only have the timestamp to rely on but it's not a monotone sequence so you have to track much more state to keep things in sync? The benefit of snapchain is a partial global ordering (ordering on user level), or at least that's what I understood the last time I looked... Which greatly simplifies syncing whether between hubs or apps?
1 reply
0 recast
2 reactions

Stephan pfp
Stephan
@stephancill
no i mean the fact that i need to do any of this at all as an app builder using the farcaster social graph is annoying solving the problem is a whole other conversation in itself (which snapchain will help with a lot). the best way to go about it today would probably be by using the neynar webhooks to subscribe to social graph changes for your users
0 reply
0 recast
1 reaction