deviantART post error

Forums SNAP – WordPress Plugin Forums deviantART post error

  • This topic has 1 reply, 1 voice, and was last updated 10 years ago by ServerThemes.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #76631
    Vlad
    Participant

      Array ( [pgID] => [isPosted] => 0 [pDate] => 2013-12-15 03:27:53 [Error] => Somethibng is not right )

      Test send OK!

      Help!

      #189947
      ServerThemes
      Participant

        NextScripts Error Here: da.api.php

        //ServerThemes.Net Bug: deviantart.com
        if ($response[‘response’][‘code’]==’302′) { $hdrsArr = nxs_getDAHeaders(‘https://serverthemes.deviantart.com/journal/?edit’);

        $rep = wp_remote_get( $mh.’/journal/’, array( ‘headers’ => $hdrsArr, ‘cookies’ => $ck));

        $daNewPostURL = CutFromTo($rep[‘body’], ‘a data-deviationid=”‘, ”); $daNewPostURL = CutFromTo($daNewPostURL, ‘href=”‘, ‘”‘); $daNewPostID = CutFromTo($rep[‘body’], ‘a data-deviationid=”‘, ‘”‘);

        return array(‘postID’=>$daNewPostID, ‘isPosted’=>1, ‘postURL’=>$daNewPostURL, ‘pDate’=>date(‘Y-m-d H:i:s’));

        } else { $badOut[‘Error’] .= ‘Somethibng is not right’;

        return $badOut;

        }

        And NextScript should Replcae:

        “somethibng is not right” to “something is not right” 😀

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