-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
social media links title and description from socialdb app widget met…
…adata (#134) Get title and description for social media landing page from socialdb, by using web4 preloads querying social db. You can verify the functionality in the deployment to `peterdevhub.near` where you can see that the description is set according to the data registered in socialdb. ``` curl https://peterdevhub.near.page ``` <img width="1144" alt="image" src="https://github.com/NEAR-DevHub/neardevhub-contract/assets/9760441/6dfe51c8-145b-4442-9be5-b5e13473b672"> The preload url being used is: https://rpc.web4.near.page/account/social.near/view/get?keys.json=[%22peterdevhub.near/widget/app/metadata/**%22] where you can see that `name` and `description` from the returned payload matches the title and description in the preview environment metadata tags. fixes #135 --------- Co-authored-by: Vlad Frolov <[email protected]>
- Loading branch information
1 parent
59cd41b
commit 4ee925c
Showing
3 changed files
with
191 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.