Read the statement by Michael Teeuw here.
Grab article URL from Newsfeed
-
Hello everybody!
I am a noob, but I was able to use the Newsfeed module via iPhone (with iOS Shortcuts app and the notification system of MMM-Remote-Control).
e.g., I can view in MagicMirror the fullscreen news, by sending via GET method:
http://192.168.1.127:8080/api/notification/ARTICLE_TOGGLE_FULL
So, I read that ARTICLE_INFO_REQUEST notification “Causes newsfeed to respond with the notification ARTICLE_INFO_RESPONSE, the payload of which provides the title, source, date, desc and url of the current news title”.
Then I ask for help: how can I get this “response” on my iPhone, in order to grab the URL and open it in iPhone’s browser?
N.B. The iPhone’s Shortcut app contains a function that detects and fetches a URL from a text.But, if I send:
http://192.168.1.127:8080/api/notification/ARTICLE_INFO_REQUEST
in browser I get this answer:
{"success":true,"notification":"ARTICLE_INFO_REQUEST","payload":{}}
So, correctly, iPhone tells me there are no URLs to detect.
How can I “grab” in my iPhone the URL in notification ARTICLE_INFO_RESPONSE?
-
@fedeche I don’t believe there is any way currently. the notification request and response is between modules inside mm. not to outside parties