Developer guide

Integrate Hey Social Payment in your Lens client and publish to Hey without opening the website, using the same path as the Hey News bot.

Hey Social Payment is an on-chain GHO fee on Lens. Other clients attach the current post rule, prepay 0.09 GHO on the original post, and pay again on comments, reposts, and quotes.

Publish without the website

  1. Authenticate to Lens GraphQL with the Hey app id (account owner or manager).
  2. Fund the Lens account with GHO, then call payForInteraction for action type POST.
  3. Upload Lens metadata to Grove and CreatePost with the Social Payment rule attached.
  4. Poll until the indexer returns a slug. The permalink is hey.xyz/posts/{slug}.

The Hey News bot (@heynews) follows this path from RSS: it never opens the composer. See the developer guide, Social Payment, and how Hey works.

Hey · Communities · How it works