I'm trying to include my free wordpress.com blog on my personal website using CakePHP. Displaying all the posts and accessing to each post on my website works fine but I can't post a comment. I'm getting :
[ 'error' => 'unauthorized', 'message' => 'That API call is not allowed for this account.' ]
every time I submit a comment and I'm wondering why?
我必须使用授权网址而不是身份验证网址。
Ok i found it. Here is details where to change.
$url_to = AUTHENTICATE_URL .'?'. http_build_query( $params );
I have changed AUTHENTICATE_URL with Authorize_URL and it works for me.
$url_to = Authorize_URL .'?'. http_build_query( $params );
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.