Embed private widget via iFrame | ThingSpeak API | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Embed private widget via iFrame
No permission to create posts
February 7, 2019
12:53 am
Avatar
RiaanAspeling
New Member
Members
Forum Posts: 1
Member Since:
February 7, 2019
sp_UserOfflineSmall Offline

Good day all!

I know I can embed a private chart on my own site by including the api_key like so:

src="https://thingspeak.com/channels/[channel id]/charts/[chart id]?results=120&type=line&update=30&api_key=XXXXXXXXXXXXXXXX"

But trying this with a widget, doesn't work:

src="https://thingspeak.com/channels/[channel id]/widgets/[widget id]?update=30&api_key=XXXXXXXXXXXXXXXX">

I get the message:

"This widget is not publicly accessible."

Does anybody know a way around this? Any help will be appreciated.

February 7, 2019
9:22 am
Avatar
Vinod

MathWorks
Members
Forum Posts: 279
Member Since:
May 1, 2016
sp_UserOfflineSmall Offline

Try

src="https://thingspeak.com/channels/[channel_ID]/widgets/[widget_ID]"

You'll have to make the channel public to embed the widget on your own website.

March 11, 2019
8:40 am
Avatar
brooksjo
New Member
Members
Forum Posts: 2
Member Since:
March 4, 2019
sp_UserOfflineSmall Offline

You'll have to make the channel public to embed the widget on your own website.

Hello,

How can I make the channel public on my website? I'm trying to add the Events widget (to sync with Eventbrite as well).
Thanks.

March 12, 2019
8:57 am
Avatar
cstapels
Moderator
Members


Moderators
Forum Posts: 610
Member Since:
March 7, 2017
sp_UserOfflineSmall Offline

Select the sharing tab on your channel view and select the second bullet: "Share channel view with everyone"

https://www.mathworks.com/help/thingspeak/channel-settings.html#privacy

Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
32 Guest(s)

Currently Browsing this Page:
2 Guest(s)

Top Posters:

rw950431: 272

Vinod: 240

piajola: 95

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 8665

Moderators: 1

Admins: 2

Forum Stats:

Groups: 3

Forums: 14

Topics: 1600

Posts: 5760

Newest Members:

adeeeban, theweddingties, Vasant Gosai, pavithra, shivaniprakash, Akeyan

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457