MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Grab article URL from Newsfeed

    System
    2
    2
    172
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      Fedeche last edited by

      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?

      S 1 Reply Last reply Reply Quote 0
      • S
        sdetweil @Fedeche last edited by

        @fedeche I don’t believe there is any way currently. the notification request and response is between modules inside mm. not to outside parties

        Sam

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy