MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Fedeche
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    F
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 0

    Fedeche

    @Fedeche

    0
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Fedeche Unfollow Follow

    Latest posts made by Fedeche

    • 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?

      posted in System
      F
      Fedeche