LogoLogo
  • OpenRank
    • Ranking and Reputation
    • Use Cases
  • The Reputation Stack
    • Data
    • OpenRank Protocol
    • Apps and Clients
  • Integrations
    • Farcaster
      • Openrank Scores Onchain
      • Ranking Strategies on Farcaster
      • Global Profile Ranking
        • ๐Ÿ”ตTop Profiles (based on Following)
        • ๐Ÿ”ตTop Profiles (based on Engagement)
        • ๐ŸŸขProfile Rank (based on Following)
        • ๐ŸŸขProfile Rank (based on Engagement)
      • Channel User Rankings
        • ๐Ÿ”ตTop Profiles in Channel
        • ๐ŸŸขProfile Rank in Channel
      • Personalized Network
        • Direct Network
          • ๐ŸŸขGet Direct Following
          • ๐ŸŸขGet Direct Engagement
        • Extended Network
          • ๐ŸŸขPersonalized Following
          • ๐ŸŸขPersonalized Engagement
      • Frames
        • ๐Ÿ”ตTop Frames
        • ๐ŸŸขPersonalized Recommended Frames
      • Feeds
        • For You Feed
          • ๐Ÿ”ตFor You
          • ๐Ÿ”ตFor You (by Authorship)
        • Channel Feed
          • ๐Ÿ”ตChannel Trending Casts
      • Metadata
        • ๐ŸŸขGet FIDs for Addresses
        • ๐ŸŸขGet Handles For Addresses
        • ๐ŸŸขGet Addresses for FIDs
        • ๐ŸŸขGet Addresses for Handles
      • Ideas to Build using OpenRank APIs
      • Neynar x OpenRank Guides (WIP)
        • Build "For You" Feeds for your Client, using Neynar and OpenRank
        • Build "User Search" using Neynar and OpenRanks' Global Ranking API
        • Build "Suggested follow list" based on OpenRank and Neynar
        • Build Channel Trending Feeds for your Client using Neynar and OpenRank APIs
        • Build "Discover New Users Feed" using Neynar and OpenRanks Global Ranking API
        • Build Power Badges for your Client using Global & Personalized Ranking APIs by OpenRank
        • Build "Sort Replies" on a cast using Neynar and OpenRanks' Global Ranking API
    • Clanker OpenRank Scores
    • Lens Protocol
      • Ranking Strategies on Lens
      • Lens Profile APIs
      • Lens Content APIs
      • Lens Profile Insights
    • Metamask SPD
    • Onchain Graphs and Feeds
    • Upcoming Integrations
    • GitHub Developers & Repo Ranking
  • Reputation Algorithms
    • EigenTrust
    • Hubs and Authorities
    • Latent Semantic Analysis
  • OpenRank SDK
    • Introduction
    • Creating your first reputation graph
    • Publishing Rankings with OpenRank SDK
    • Guides
      • Tipping based User Rankings powered by OpenRank
    • Installation
    • SDK References
      • EigenTrust
        • Installation and Use
        • Examples for using EigenTrust
      • Hubs & Authorities
        • Installation and Use
        • Examples for using Hubs & Authorities (Coming soon)
      • Latent Semantic Analysis (Coming soon)
Powered by GitBook
LogoLogo

SOCIALS

  • Github
  • Farcaster

Copyright 2024

On this page
  1. Integrations
  2. Farcaster
  3. Frames

Personalized Recommended Frames

Given a list of FIDs, return a list of frame urls used by the extended trust network

PreviousTop FramesNextFeeds

Last updated 1 year ago

Discover high quality Frames (casts with frames) based on your personalized social graph. This ranking follows an approach very similar to the Global Frame Rankings endpoint described in the previous section, but the difference is that we replace the global graph with a personalized graph specific to the given profile. In other words, Frames are assigned scores that are weighted linear combination of the interactions and trust scores of profiles within a given profileโ€™s personalized (Extended network) trust graph.

/frames/personalized/rankings/fids

Query via handles: /frames/personalized/rankings/handles

๐ŸŸข
[Try It!]

Get Personalized Frames For Fids

post

Given a list of input fids, return a list of frame urls used by the extended trust network of the input fids.

This API takes four optional parameters - agg, weights, k and limit.

Parameter agg is used to define the aggregation function and can take any of the following values - rms, sumsquare, sum

Parameter weights is used to define the weights to be assigned to like, cast and recast actions by profiles.

Parameter voting is used to decide whether there is a single vote per neighbor or multiple votes per neigbor when deriving the frames score.

Parameter k is used to constrain the social graph to k-degrees of separation.

By default, agg=rms, weights=L1C10R5, voting=single, k=2 and limit=100.

Query parameters
aggany ofOptionalDefault: sumsquare
string ยท enumOptionalPossible values:
or
nullOptional
weightsany ofOptionalDefault: L1C10R5
stringOptional
or
nullOptional
votingany ofOptionalDefault: single
string ยท enumOptionalPossible values:
or
nullOptional
kinteger ยท max: 5OptionalDefault: 2
limitany ofOptionalDefault: 100
integer ยท max: 1000Optional
or
nullOptional
Body
integer[]Optional
Responses
200
Successful Response
application/json
Responseany
422
Validation Error
application/json
post
POST /frames/personalized/rankings/fids HTTP/1.1
Host: graph.cast.k3l.io
Content-Type: application/json
Accept: */*
Content-Length: 5

[
  1,
  2
]

No content