› Forums › NextScripts API Forums – Google+, Pinterest, LinkedIn, etc.. › Don't recommend this script
- This topic has 9 replies, 1 voice, and was last updated 8 years, 1 month ago by NextScripts.com.
- AuthorPosts
- October 4, 2016 at 5:37 pm #515778BOGDANParticipant
Hey,
I don’t recommend this script. It’s posting NextScript ad.
I sent a ticket, but they didn’t answer so ….
https://imgur.com/a/EzCbYOctober 4, 2016 at 6:47 pm #515779HilParticipantThe image posted is too small.
Can you post a larger image and highlight the place where you see the ADOctober 4, 2016 at 7:01 pm #515781BOGDANParticipantNextScript posting ads on my google plus wall.
https://imgur.com/a/iIQWFOctober 5, 2016 at 3:11 am #515798Please DO NOT CONFUSE PEOPLE!
Nextscripts SNAP does not post any NextScripts ads.
You just used our demo code that has a demo link to our site. Please change that link to your own or remove it
October 7, 2016 at 12:29 pm #515893BOGDANParticipantNo I don’t
this is my code…$url = $post->getUrl();
$nt = new \nxsAPI_GP();
$loginError = $nt->connect(’email@email.com’, ‘pass’);
if (!$loginError) {
$nt->postGP($post->getTitle(), $url, ‘102714641469955361550’);
}October 7, 2016 at 12:32 pm #515894BOGDANParticipantAnd I know for sure that I don’t have your url in my database.
October 8, 2016 at 1:15 pm #515920and what exactly function getUrl() does????
Please change the code to
$url = ‘https://www.foxnews.com’;
$nt = new nxsAPI_GP();
$loginError = $nt->connect(’email@email.com’, ‘pass’);
if (!$loginError) {
$nt->postGP(‘FOX NEWS SITE’, $url, ‘102714641469955361550’);
}and watch the Fox News link shared on your G+ page.
Then please check your getUrl function
October 13, 2016 at 8:11 am #516083BOGDANParticipantIm using symfony so getUrl(doctrine function) calling url column from database…. And im sure in database I dont have netscripts url
October 13, 2016 at 8:15 am #516084BOGDANParticipant$posts = $em->getRepository(‘WebAdminBundle:SchedulePost’)->findBy([‘isPosted’ => false]);
foreach ($posts as $post) {
$date = $post->getPostDate()->format(‘U’);
$url = $post->getUrl();
if ($date <= date(‘U’)) {
$nt = new \nxsAPI_GP();
$loginError = $nt->connect(’email’, ‘pass’);
if (!$loginError) {
$nt->postGP($post->getTitle(), $url, ‘102714641469955361550’);
}
$em->remove($post);
$em->flush();
}
}October 14, 2016 at 10:23 am #516180Have you tried my code with foxnews link?
What did it share foxnews.com or nextscripts.com?
- AuthorPosts
- You must be logged in to reply to this topic.