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_FULLSo, 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_REQUESTin 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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login