› Forums › NextScripts API Forums – Google+, Pinterest, LinkedIn, etc.. › Google+ Api broken
- This topic has 42 replies, 1 voice, and was last updated 10 years, 7 months ago by maarlok.
- AuthorPosts
- March 26, 2014 at 3:21 am #174824CloneVinceParticipant
Thx for the update but still no posts on Google+
$loginError is still NULL 🙁Thx for your help
March 26, 2014 at 11:19 am #175092What is your exact code? It’s hard to imagine how $loginError could be NULL. Function should return something.
March 26, 2014 at 12:37 pm #175130PorterParticipantHaving issues with google + posting too. About two days ago my blog posts were being sent to google + without the posted images. Only text was making it to google +. Not sure if related but I was having issues with posting to twitter too. Now and again, my WP site says the account is not authorized to post to twitter.
March 26, 2014 at 1:37 pm #175153CloneVinceParticipantHere is my code :
<?php
require "postToGooglePlus.php";
$email = 'myemail';
$pass = 'mypassword';
$msg = 'Test debug';
$pageID = '104783581838643492102';
$loginError = doConnectToGooglePlus2($email, $pass);
if (!$loginError)
{
$lnk = doGetGoogleUrlInfo2('');
doPostToGooglePlus2($msg, $lnk, $pageID);
} else echo $loginError;
?>
March 26, 2014 at 5:36 pm #175271AsParticipantSadly I bought the multi-pro edition for WP specifically for the G+ posting on 3/19/ and has not worked since I got it…which appears to coincide with all the API issues happening around the same time.
I get the error message trying to submit a test post.
Array
(
[pgID] =>
[isPosted] => 0
[pDate] => 2014-03-26 21:32:00
[Error] =>
The email or password you entered is incorrect.
- BAD USER/PASS
)
Array ( [pgID] => [isPosted] => 0 [pDate] => 2014-03-26 21:32:00 [Error] => The email or password you entered is incorrect. - BAD USER/PASS )
March 27, 2014 at 1:07 am #175500JoParticipantI have download the last version https://www.nextscripts.com/updts/news/2014/03/new-google-api-2-14-2/ and i do not have more the 2000 pictures in my Google+ but it is still not working. Nothing changed. There is also not output of $loginError. Just in case you are asking – sure i also upload the nxs-http.php. So what to do now?
March 27, 2014 at 5:51 pm #175884March 27, 2014 at 7:01 pm #175920CloneVinceParticipantThx for the update, but why the standalone library require some functions from wordpress ?
For example : wp_parse_args() in nxs-http.php on line 22
Here is the error_log : PHP Fatal error: Call to undefined function wp_parse_args()
Can you provide a new version without any wordpress functions plz ?
ThanksMarch 27, 2014 at 9:04 pm #175976SGParticipantIs there any fix for the Google+ big image post ? thanks!
I updated the API and still doesn’t work!
thanks!
March 27, 2014 at 9:11 pm #175977SGParticipanthave you figured it out how to post again with big images in google+ ?
March 27, 2014 at 10:05 pm #176005Thx for the update, but why the standalone library require some functions from wordpress ?
For example : wp_parse_args() in nxs-http.php on line 22
Here is the error_log : PHP Fatal error: Call to undefined function wp_parse_args()
Can you provide a new version without any wordpress functions plz ?
ThanksVersion 2.14.5 does not require any WordPress functions.
March 28, 2014 at 3:18 am #176126CloneVinceParticipantSeriously, did you test your version ?
Did you have a look on the nxs-http.php file after my post ?Here is the code (for example) :
$args = wp_parse_args( $args );
if ( isset($args['method']) && 'HEAD' == $args['method'] ) $defaults['redirection'] = 0;
$r = wp_parse_args( $args, $defaults ); $r['_redirection'] = $r['redirection'];
Can you explain me how the 2.14.5 version does not require any WordPress functions ?!
wp_parse_args is explained here : https://codex.wordpress.org/Function_Reference/wp_parse_argsThere are 6 wp_*() functions in nxs-http.php, which is required by postToGooglePlus.php
(line 11 : require_once “nxs-http.php”; )Plz, provide a version without wp_*() functions in https://www.nextscripts.com/mypage/?download-api link.
Thanks
March 28, 2014 at 5:59 am #176197maarlokParticipantI can not post on G+, it always returns the following error:
******************************
Array ( [pgID] => [isPosted] => 0 [pDate] => 2014-03-28 09:55:56 [Error] => WP_Error Object ( [errors] => Array ( [http_request_failed] => Array ( [0] => URL indicata non valida. ) ) [error_data] => Array ( ) ) – ERROR IMG Upl )
*****************************the plugin is updated to the latest version!
Thank
March 28, 2014 at 9:01 am #176300marcoParticipantI have download “Version: 2.14.5, Mar, 27 2014†but nothing working. No posts to Google+…..
March 28, 2014 at 11:27 am #176373maarlokParticipantClick on the post-test everything is ok but the post of wordpress article does not work and returns the error message.
- AuthorPosts
- You must be logged in to reply to this topic.