token_auth in widgets


(temp) #1

Hi folks!

Should it be possible to use the token_auth string in flash widgets? I’m trying to add one of them on the dashboard of our cms, but can’t seem to get it working without being logged in in piwik.

Since token_auth works with the API calls, shouldn’t it also work for the widgets?

Bye,
Stephan


(branica) #2

[quote=temp @ Dec 19 2008, 11:47 AM]Hi folks!

Should it be possible to use the token_auth string in flash widgets? I’m trying to add one of them on the dashboard of our cms, but can’t seem to get it working without being logged in in piwik.

Since token_auth works with the API calls, shouldn’t it also work for the widgets?

Bye,
Stephan[/quote]

Yeah that should be a feature request. I did a short write up on how to use PiWik & Google Spreadsheets to publish data /chars to get around this issue. I am doing an extended version of that write up soon and I’ll post it on this forum once done.

Here is the short piece:

http://www.branica.com/forums/web-analytic…eets-piwik.html


(temp) #3

Uh… that’s a lot of overhead :wink:

I’d be happy if the flash-widgets would accept the auth_token, I’d be happy ^^


(branica) #4

[quote=temp @ Dec 19 2008, 01:31 PM]Uh… that’s a lot of overhead :wink:

I’d be happy if the flash-widgets would accept the auth_token, I’d be happy ^^[/quote]

Yeah I agree style_emoticons/<#EMO_DIR#>/smile.gif hopefully they will add that feature soon! But there are some interesting things that you can do with the API and Google Docs Spreadsheets. The nice things about Google is the code is just a simple SRC line of code and does not need flash.


(branica) #5

[quote=branica @ Dec 19 2008, 12:00 PM]Yeah that should be a feature request. I did a short write up on how to use PiWik & Google Spreadsheets to publish data /chars to get around this issue. I am doing an extended version of that write up soon and I’ll post it on this forum once done.

Here is the short piece:

http://www.branica.com/forums/web-analytic…eets-piwik.html[/quote]

Here is the extended version of how to integrate with Google Docs Spreadsheets:

http://www.branica.com/forums/web-analytic…ntegration.html

You can also use this to show Maps and other interesting things allowed within Google Docs Spreadsheets.

Happy Holidays and Happy New Year to Everyone! style_emoticons/<#EMO_DIR#>/smile.gif


(temp) #6

Any news on this one? I’d really love to have flash charts in my app without being logged in…


(Matthieu Aubry) #7

as a solution you can automaticall login using the technique described in http://piwik.org/faq/how-to/#faq_30

and then load your widgets.

in the future, we will have a permission scheme on a per widget basis, with a custom widget_token_auth per widget. see http://dev.piwik.org/trac/ticket/283