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

Andrei O. pfp
Andrei O.
@andrei0x309
Can we enable CORS on api.warpcast.com ? As per docs, it says public API, can't be public without CORS enabled, there are cases where in mini-app or in a client environment you would want to do a request. And the only way to do that is to use a proxy that degrades performance.
1 reply
0 recast
4 reactions

lopezonchain.base.eth pfp
lopezonchain.base.eth
@lopezonchain.eth
that'd be dope! how can I get user info from a wallet connection?
1 reply
0 recast
1 reaction

Andrei O. pfp
Andrei O.
@andrei0x309
I don't think there's an API to get user info directly from a user address, other than using /neynar (which does basically what I will explain below) So free what you can do you have two options: Get the fid of the user(step needed for both options) - You can get that from the address using optimism RPC, here is an example from my wallet source code: https://github.com/andrei0x309/clear-wallet/blob/main/src/utils/farcaster.ts#L177 After having the FID: 1 Use a Warpcast API endpoint: https://api.warpcast.com/v2/user?fid=1791 (replace the fid) 2 Use a public hub, hubs can get a user by FID, but hubs will be deprecated soon, and on Snapchat, there is no news about free nodes to use. For hubs, there were a few like Pinata. We must wait to see, if some free resources will be provided, I mean basic free usage should be provided if you pretend you're a protocol because you can get some free data even from web3 products like Twitter, Threads, and Bluesky, so technically more free access should exist on FC.
2 replies
0 recast
1 reaction

rish pfp
rish
@rish
neynar has a free tier now and this api is free? https://docs.neynar.com/reference/fetch-bulk-users-by-eth-or-sol-address
1 reply
0 recast
1 reaction

Andrei O. pfp
Andrei O.
@andrei0x309
Seems is this one is free, tested now. I know only a subset of APIs, are free. But also would not hurt to have it free at lower level for people with low trust and for people who want to get the data as close as possible to the protocol layer.
1 reply
0 recast
0 reaction

rish pfp
rish
@rish
We must wait to see, if some if research will be done before criticism, I mean basic basic research should be done if you pretend you're a critic because you can get some free research even from AI products like chatGPT and Claude, so technically more basic research should exist on FC
1 reply
0 recast
0 reaction

Andrei O. pfp
Andrei O.
@andrei0x309
I don't see where the criticism is, in fact, I mentioned you can do that with Neynar, if you read carefully I didn't say this is an even paid option on Neynar. When I say free, I mean free in the sense of not even using a company at all, if possible, free as in FOSS, total transparency. So don't accuse me of things I don't say, I know having some free access at the protocol level can hurt your bottom line, but then again there's not even competition in this space. Practically Neynar and the Warpcast team are the only ones that I know that index the data at the protocol level, there's no other party that I know of that does that. So the reality is that I did free advertising for Neymar by mentioning it as an option, and then you point me to do research? You must be joking.
1 reply
0 recast
1 reaction