BuddyPress 플러그인을 사용하는 WordPress 사이트가 있습니다. 사용자가 게시물을 읽고 게시물, 이미지 등을 추가 할 수있는 Android 앱을 작성하고 싶습니다. 내가 사용할 수있는 불량배를위한 REST API가 있습니까? Android 용 Buddypress API가 필요합니다.
나는 워드 프레스를위한 JSON의 API 플러그인 발견http://wordpress.org/extend/plugins/json-api/other_notes/
을하지만 난 시도 때 내가 HttpStatus을 얻을 컬을 사용하여 (301) 내 콘텐츠가 BuddyPress에 있기 때문에이인가? 내 사이트에서 JSON API가 활성화되었는지 다시 확인했습니다.
$ curl --include -v http://www.mysite.com/?json=get_recent_posts
* About to connect() to www.mysite.com port 80 (#0)
* Trying <ip_address>... connected
* Connected to www.mysite.com (<ip_address>) port 80 (#0)
> GET /?json=get_recent_posts HTTP/1.1
> User-Agent: curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 OpenSSL/0.9.8r zlib/1.2.3
> Host: www.mysite.com
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
HTTP/1.1 301 Moved Permanently
< Date: Sun, 03 Jun 2012 19:12:48 GMT
Date: Sun, 03 Jun 2012 19:12:48 GMT
< Server: Apache
Server: Apache
< X-Pingback: http://mysite.com /here/xmlrpc.php
X-Pingback: http://mysite.com /here/xmlrpc.php
< Set-Cookie: bp-message=deleted; expires=Sat, 04-Jun-2011 19:12:47 GMT; path=/
Set-Cookie: bp-message=deleted; expires=Sat, 04-Jun-2011 19:12:47 GMT; path=/
< Set-Cookie: bp-message-type=deleted; expires=Sat, 04-Jun-2011 19:12:47 GMT; path=/
Set-Cookie: bp-message-type=deleted; expires=Sat, 04-Jun-2011 19:12:47 GMT; path=/
< Location: http://mysite.com /?json=get_recent_posts
Location: http://mysite.com /?json=get_recent_posts
< Vary: Accept-Encoding
Vary: Accept-Encoding
< Content-Length: 0
Content-Length: 0
< Content-Type: text/html; charset=UTF-8
Content-Type: text/html; charset=UTF-8
<
* Connection #0 to host www.mysite.com left intact
* Closing connection #0
내가 사용 또는 내가 필요한 워드 프레스 JSON API입니다 수있는 BuddyPress REST API는 있는가 : 여기에 출력입니까?
여기에서 XML-RPC 플러그인을 시험해 볼 수 있습니다 : https://github.com/yuttadhammo/buddypress-xmlrpc-receiver – yuttadhammo