Minds Docs

Minds Docs

  • Docs
  • Code
  • Bounties
  • Minds.com

›Guides

Getting started

  • Introduction
  • Installation
  • Troubleshooting

Guides

  • Architecture
  • Frontend
  • Backend
  • Mobile
  • Deployment
  • Documentation
  • Git / GitLab
  • Share to Minds
  • Supported Platforms for Minds

Contributing

  • Contributing
  • License

Walk-throughs

  • Backend modules
  • Backend tests
  • Block
  • Event streams
  • Frontend tests
  • Sending emails
  • Feature flags
  • Feed algorithms
  • Infinite scroll
  • Notifications
  • Postman collection
  • Mobile internationalization
  • Mobile git workflow and CI
  • Mobile styles and themes
  • A/B Testing
  • DID

Handbook

  • How we work
  • Bug reporting
  • Security Practices
  • Incident Management

Pro

  • Domains
  • Developers

Infrastructure

  • Kubernetes Autoscaling
Edit

Share to Minds

If you wish to add a Minds share button to your website, see the example below.

HTML

<a
  class="minds-share-button"
  target="_blank"
  title="Share to Minds"
  href="https://www.minds.com/newsfeed/subscriptions/latest?intentUrl=[YOUR ENCODED URL GOES HERE]"
>
  <img
    src="https://cdn-assets.minds.com/front/dist/en/assets/logos/bulb.svg"
    alt="Minds"
    height="40"
  />
</a>

CSS

.minds-share-button {
  display: block;
  max-width: 50px;
  max-height: 60px;
  padding: 10px 5px 5px;
  text-align: center;
  background-color: #242a30;
  border: 1px solid #414c57;
  border-radius: 3px;
  box-shadow: 5px 5px 8px -4px rgba(0, 0, 0, 0.4);
}

This will create a button that looks like this:

Share button

We are using bulb.svg for our logo image source in this example, though if it doesn't match the styles of your existing social share buttons, you might choose to use a different logo image from our assets folder instead.

Formatting your url

Notice that the href above points to a url with the following syntax:

https://www.minds.com/newsfeed/subscriptions/latest?intentUrl=[YOUR ENCODED URL GOES HERE]

This will open a Minds page with a post composer that is pre-populated with the link of your choice.

Note: Ensure your url is URI encoded by running it through encodeURI() before appending it to the Minds link

Last updated on 3/8/2022
← Git / GitLabSupported Platforms for Minds →
Minds Docs
Docs
Getting startedGuidesContributing
Community
Open Source Community GroupStack Overflow
More
GitLabStar
Copyright © 2022 Minds Inc.