› Forums › NextScripts API Forums – Google+, Pinterest, LinkedIn, etc.. › Instagram – nxs_mkRemOptsArr
- This topic has 9 replies, 1 voice, and was last updated 8 years, 6 months ago by NextScripts.com.
- AuthorPosts
- March 22, 2016 at 12:03 pm #495049PixukParticipant
I’m testing out the new Instagram API, but it’s throwing up an error because of the function nxs_mkRemOptsArr. This doesn’t seem to be defined anywhere, and I’ve looked in nxs-functions.php, nxs-networks-class.php, nxs-http.php and nxs-api.php.
What file am I missing here?
March 24, 2016 at 2:36 pm #495452PixukParticipantSo while I’m twiddling my thumbs waiting for a response, I did some more digging.
I downloaded a copy of the free WordPress plug-in (I’ll point out that I don’t use WordPress, so had no need for it), and low-and-belhold, there’s a file in that called nxs_functions_adv.php which isn’t in the SNAP API Pro zip file, but does define nxs_mkRemOptsArr.
However, the code still doesn’t work and silently fails in the nxsAPI_IG -> connect() function when it tries to call nxs_remote_post().
I can only assume the version of nxs_functions_adv.php in the free plug-in isn’t the same as a file that has been omitted in the SNAP API Pro.
March 25, 2016 at 6:45 am #495568PixukParticipantWhat I have learnt so far…
The stand alone API replicates some of the WordPress functions, so the order of including libraries is important. nxs-http needs to get in before the functions_adv, for instance so NextScript’s curl routines are defined. Getting that sorted helped progress, and I’m now loading nxs-http, nxs-api, nxs-functions & nxs-functions-adv in that order.
This got me a little further, but still an error on an undefined function add_action() in the API. But given add_action() appears just before the nxs_remote_post() call, and then remove_action() just after it, I wondered whether this was just popping something into a status and whether it would work without, so commented it out. Suddenly the script was reporting it posted successfully…
… but it wasn’t. Although the response says it’s posted, going to the URL says the page is unavailable. Very strange. I even added a var_dump on the $rep variable and Instagram appears to saying it’s all good. But the post just isn’t there – not in my Instagram profile or at the end of the URL retrieved from the response text.
Obviously my desperate attempts to cobble this together would be helped if NextScripts just made a working package available for download with *all* the necessary files.
April 6, 2016 at 5:08 am #498186PixukParticipantNo replies here or responses to my support ticket. Remind me again what I’m paying an annual subscription for?
April 23, 2016 at 10:21 am #500683Dimitry Saint-PierreParticipantI am having the same issue with the API Pro version and support has not been able to help. I cannot get Pinterest or YouTube to work because some functions cant be found; they are the main reason for purchasing this product. I am starting to feel like I was scammed.
April 26, 2016 at 4:53 am #501169ALEX G.ParticipantDimitry Saint-Pierre, API Pro version works with Pinterest!
I have just set up it and have sent a PIN.The script has been taken from
To include all features I have added to the beginning of the script
require_once "inc/nxs-networks-class.php";
require_once "nxs-snap-class.php";
And I have filled $email, $pass, and other fields manually in script
It is really imposible to open the settings window for Pinterest and YouTube in snap-setup.php. And you can not post with “New Post to the Pinterest Configured Social Networks”, but a separate script is working successfully.
May 10, 2016 at 11:51 am #503311DmitryParticipantwith pinterest it works, its ok; but it doesn’t work with IG, it gives success, but after i’m checking the link – this page doen’t exists or removed and nothung chenged in my account:
i paid few days ago just for IG, the rest were workung for my subscription iwas made before (02.15), but for to work with IG it asked for an extra 50 bucks; i paid, got this scam: after posted 5 tickets in support, nothing has been changed; i started a dispute in PP; i hate such support;
I thought that just in asia happens such problems (they sell first, after ask to wait, because the next update will be ok and you re waiting couple of month), but didn’t think it may succed here, especially ias using this plugin more than a year and was satisfied at all; hey Guys! are you alive?June 9, 2016 at 5:11 pm #508086WebmasterParticipantI have the same problem. I have also bought PRO only for Instagram and very disappointed it does not work.
June 15, 2016 at 10:36 am #508359Dario B BestettiParticipantSame problem, I bought the PRO version to have Instagram and my photos is not showing.
June 15, 2016 at 2:02 pm #508374>> it gives success, but after i’m checking the link – this page doen’t exists or removed
FAQ 4.3
- AuthorPosts
- You must be logged in to reply to this topic.