› Forums › NextScripts API Forums – Google+, Pinterest, LinkedIn, etc.. › Error with posting to blogger
- This topic has 11 replies, 1 voice, and was last updated 9 years, 7 months ago by NextScripts.com.
- AuthorPosts
- April 29, 2015 at 3:23 pm #417750MarekParticipant
Hello while i try to post something to blogger i got this error : ( posting to g + is ok )
Array
(
[pgID] =>
[isPosted] => 0
[pDate] => 2015-04-29 19:21:15
[Error] => Error: {“error”:{“message”:”XSRF token validation”,”code”:-32000}}
)
How to repair this ?April 29, 2015 at 4:27 pm #417805MarekParticipantThats the new problem…
Array ( [pgID] => [isPosted] => 0 [pDate] => 2015-04-29 20:27:08 [Error] => Error: 200 | Invalid Login Failed to connect to 2a00:1450:401b:801::2004: Network is unreachable )
April 29, 2015 at 4:28 pm #417807MarekParticipantAnd that Array ( [pgID] => [isPosted] => 0 [pDate] => 2015-04-29 20:27:57 [Error] => Array ( [code] => ERR [error] => Attribute name “itemscope” associated with an element type “div” must be followed by the ‘ = ‘ character. ) )
April 30, 2015 at 1:23 pm #419126MarekParticipantReally i need help. how to fix this ?
April 30, 2015 at 3:46 pm #419282It’s kind of hard to answer, because your issues contradict each other.
#1. Your API is outdated.
#2. Please see the answer in the FAQ – #1.10:
#3. You are using free API and hit it’s limit.
April 30, 2015 at 4:00 pm #419292MarekParticipanthow can i hit the limit while there is only one auto post for blogger there ?
May 1, 2015 at 3:59 pm #420762MarekParticipantFor now i have this error all the time Array ( [pgID] => [isPosted] => 0 [pDate] => 2015-04-30 20:03:59 [Error] => Array ( [code] => ERR [error] => Attribute name “itemscope†associated with an element type “div†must be followed by the ‘ = ‘ character. ) )
So how to fix this ?May 4, 2015 at 10:29 am #422938What is your version?
This error is related to this:
https://www.nextscripts.com/blog/bloggerblogspot-two-ways-of-auto-posting/
The problems with Free API:
The HTML code should be XHTML complaint. This is usually not a problem with clean wordpress, but a lot of third party plugins forgot to close html tags, put quotes in attributes and use
not
. Things like this will be rejected by free API and message won’t be posted.itemscope without ‘=’ is NOT XHTML complaint, blogger rightfully rejects it.
May 5, 2015 at 1:12 pm #423416MarekParticipantLatest version of the free version, how to fix this ?
May 5, 2015 at 2:04 pm #423430This is limitation of the free Blogger API. it takes only XHTML complaint code. It’s been like this for years, so I doubt Google has any plans to fix/change that.
So you can either make your text XHTML complaint or upgrade.
May 7, 2015 at 6:25 pm #424569MarekParticipantOk but how to do that ? It was posting normal with the old version but when i upgrade the script it started to give that error
May 8, 2015 at 12:36 pm #425570It has nothing to do with the version. Nothing was changed in the blogger code for the last 18 months. The problem is with the content of your posts.
- AuthorPosts
- You must be logged in to reply to this topic.