Skip to content

Conversation

@wa0x6e
Copy link
Contributor

@wa0x6e wa0x6e commented Apr 3, 2024

Close #197

Add followings API to return addresses followed by a given address.

Will return following from:

  • Lens
  • Farcaster
  • EFP

TODO

  • Add cache

🛠️ Tests

Run

curl --location 'http://localhost:3008' \
--header 'Content-Type: application/json' \
--data '{
    "method": "following",
    "params": "0x70d9b2084d24823789073d3732a327b2c18a7e6f"
}'

@bonustrack
Copy link
Member

We dont need following for multiple addresses, we will always specify 1 address to get list of following.

@wa0x6e
Copy link
Contributor Author

wa0x6e commented Apr 3, 2024

Already the case, using an array just to conform to the rest of the API, array length must be 1

@bonustrack
Copy link
Member

Why we need to conform to the rest of the API? This is different method of the API we dont need use same argument everywhere

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: API to resolve following list

3 participants