Create a new Shared Adafruit IO Feed
Adafruit IO's feed-sharing feature allows you to invite someone to view (or write to) a specific feed. This is a great feature if you're building a project but don't want to make your feed public to strangers, only your friends. In this project, the person sharing their location will create a shared feed and invite the person with the PyPortal to view it.
In a web browser, navigate to io.adafruit.com/feeds and click "+ New Feed"
Give your new feed a name. The description is optional. Click Create to create the new feed.
Under My Feeds, you should see the location feed you created. Click the link to be brought to the Feed's page.
On the feed page, click the Sharing text on the sidebar
You'll be greeted with the Sharing Settings window.
You can invite somebody you know using their Adafruit IO Username or email address. You'll have two options for controlling someone's access to your feed:
- If you give someone Read access, they can view the feed you share.
- If you give someone Read + Write access, they can read from your feed and write to your feed.
For this project, the PyPortal only needs to display the feed's last value.
Enter your friend's email or Adafruit IO username, give them the Read Access Level, and click Send Invitation.
Accepting a Shared Feed Request
Now it's the other person's turn. After you click Send Invitation, they should receive an email from Adafruit IO informing them that you've shared a feed. After they've reviewed and accepted it, move on to the next page.
Text editor powered by tinymce.