November 19, 2018, 07:44:41 PM
Welcome, Guest. Please login or register
News: Stay up to date with everything that's happening at http://twitter.digitalsignage.com

MediaSignage support forum



Author Topic: Phantomjs and sendCommand  (Read 1861 times)

cp36609

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Phantomjs and sendCommand
« on: July 25, 2016, 12:56:03 PM »
hello could you advise if and how phantomjs could be engaged to run sendCommand.js dynamically passing parameter

admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 4870
  • Karma: +35/-8
    • View Profile
Re: Phantomjs and sendCommand
« Reply #1 on: July 25, 2016, 03:10:16 PM »
you don't need a headless browser, node.js and sendCommand will work just fine...

cp36609

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Phantomjs and sendCommand
« Reply #2 on: July 25, 2016, 08:36:43 PM »
what I need is to have parameter passed from an sms. Playsms is using http post file_get_contents() and the later ignore the javascript part.

 

Carbonate design by Bloc
variant: carbon
SMF 2.0.12 | SMF © 2016, Simple Machines