Missing files from recently purchased "SNAP Premium API"

Forums NextScripts API Forums – Google+, Pinterest, LinkedIn, etc.. Missing files from recently purchased "SNAP Premium API"

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #564093
    hdsouza@yahoo.com
    Participant

    Hi,

    I had purchased the “SNAP Premium API” on Jun 6, 2019.
    There is a complete folder missing for the software zip file.
    Its the “inc-cl” folder.
    This folder contains the scripts to connect to respective social accounts.

    I specifically need Flipboard to work.
    I have attached the script I am using – flipboard.php
    Please send me the correct zip or upload to my Nextscripts account.

    Here is the Flipboard script being used that points to a missing folder
    ——————————————————————————
    <?php
    require_once “nxs-api/nxs-api.php”;
    require_once “nxs-api/nxs-http.php”;
    require_once “inc/nxs-functions.php”;
    require_once “inc-cl/fp.api.php”;

    $PostUrl = ‘https://www.gestationaldiabetics.com/dealing-with-breathlessness-during-pregnancy/&#8217;;
    $PostTitle = ‘Dealing with Breathlessness During Pregnancy’;
    $postText = ‘A whole lot of adjustments happen to the body throughout pregnancy…’;
    $postLabel = !empty($_POST[‘Labels’])?$_POST[‘Labels’]:”;
    $postText = substr($postText,’0′,’250′).”…”;
    $message = array(
    ‘url’=> !empty($_POST[‘PostUrl’])?$_POST[‘PostUrl’]:”,
    ‘pTitle’=> !empty($_POST[‘PostTitle’])?$_POST[‘PostTitle’]:”,
    ‘pText’=> !empty($postText)?$postText:”
    );

    $NToptions = array();
    $NToptions[‘uName’] = ‘haha@gmail.com’;
    $NToptions[‘uPass’] = ‘this_is_my-password’;
    $NToptions[‘mgzURL’] = ‘https://flipboard.com/@sutherland2016/sutherland-chjhr1hky&#8217;;
    $NToptions[‘msgFrmt’] = ‘%EXCERPT%’;

    $ValueFromTheCookie = ‘1839503224%7C49440890f5ae3613bebdb8d8bd9e6c97%7Ce41521be45489e3f67b6f9b800faa4e7’;
    $ValueFromTheUserIDCookie = ‘1839503224’;
    $nt->sid = $ValueFromTheCookie;
    $nt->cuid = $ValueFromTheUserIDCookie;

    $ntToPost = new nxs_class_SNAP_FP();
    $result = $ntToPost->doPostToNT($NToptions, $message);

    if (!empty($result) && is_array($result) && !empty($result[‘postURL’]))
    echo ‘New Post‘;
    else
    echo “

    ".print_r($result, true)."

    “;
    ?>

    #564177
    NextScripts
    Keymaster

    Just remove this line:

    require_once “inc-cl/fp.api.php”;

    #564180
    hdsouza@yahoo.com
    Participant

    Removing the “inc-cl/fp.api.php” gives a 500 error.
    Also the Webpage being sent via the code is valid.

    Try it out and you will get the same error.

    Alternatively if you have a sample script that works for Flipboard and is part of “SNAP Premium API” let me know. I also checked https://www.nextscripts.com/snap-api/ for flipboard sample code and did not find any.
    Thanks

    #564370
    hdsouza@yahoo.com
    Participant

    So when do I get the correct file ????????

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.