hypothesis / hypothesis/product-backlog
interpolating quotes and comments into bouncer's metadata to improve social media sharing behavior of hyp.is links
- Dominant language
- No language data
- Stars
- 122
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
This issue separates itself from https://github.com/hypothesis/product-backlog/issues/166, which envisions turning annotations into textshots that can be shared on social media. That's desirable and will be great to have.
Here the focus is, rather, on the share cards that Twitter, Facebook, and other services produce when fed bouncer URLs.
Such cards expect (in page metadata) an image, a title and a description. It's easy to interpolate an annotation's quote and comment into bouncer, e.g. by this kind of parameterization:
```
````
Doing that yields, e.g.:

In this case the quote is truncated but we also get to see the comment (which if longer would also be truncated)

In this case the quote is all we get, it’s still truncated, nothing of the comment gets through.
## Rocket Chat

## Slack

Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names no repository files, tests, or entry points. Start by locating the bouncer URL handler and how its page metadata is generated, then check how quote and comment values could reach the Twitter and Open Graph fields. Done means supported social services show useful quote and comment content in cards without breaking metadata escaping or truncation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100