WordPress.org

Ready to get started?Download WordPress

Plugin Directory

BuddyPress XML-RPC Receiver

This plugin allows remote access to BuddyPress networks through an XML-RPC API.

How does it work?

Allow your BuddyPress members to access certain BuddyPress features via XML-RPC. You may restrict settings on a wp_cap level. You can select which RPC commands to allow as well.

How do members retrieve data?

A client is required to send XML-RPC commands. You can build one yourself or try an existing one. For Android, there is BuddyDroid that works with this plugin.

What commands and data are returned?

Available methods:

  • bp.updateProfileStatus: send an activity_update

    params: array ($username, $password, $data['status'] )

    returns: array (activity_id,message,confirmation,url)

  • bp.postComment: submit a comment on a given post

    params: array ($username, $password, $data['comment'], $data['activity_id'] )

    returns: array (activity_id,message,confirmation,url)

  • bp.deleteProfileStatus: delete an activity_update

    params: array ($username, $password, $data['activity_id'] )

    returns: array (activity_id,message,confirmation,url)

  • bp.getActivity: get various activity stream items

    params: array ($username, $password, $data['scope','max','user_data','action','action_id','action_data'] )

    returns: array (activities,message,confirmation)

    sending the 'scope' parameter allows you to filter the results as per the plugin's presets (favorites, friends, groups, mentions, sitewide, just-me, my-groups, following) or by a specific BP action type (e.g. activity_update)

    sending the 'action' parameter makes it perform a specified action on an activity id ('action_id'), viz. 'delete' or 'comment' (put comment text in 'action_data').

    sending the 'user_data' parameter makes it include a list with the user's notifications, etc.

    returns: array (confirmation, message)

  • bp.getMemberInfo: get info for a given user id

    params: array ($username, $password, $data['user_id','action','action_id','action_data'] )

    returns: array (confirmation, message)

    sending the 'action' parameter makes it perform a specified action on a user id ('action_id') (not yet implemented).

  • bp.deleteMember: deletes member for given user id (must be admin, or it does nothing)

    params: array ($username, $password, $data['user_id'] )

    returns: array (confirmation, message)

  • bp.updateExternalBlogPostStatus: send an activity stream update filed under blogs

  • bp.deleteExternalBlogPostStatus: delete the activity update related to an already posted activity record (ie, if unpublishing a blog post)

  • bp.getMyFriends: get a list of friends

  • bp.getGroups: get a list of groups

  • bp.getNotifications: member adminbar notifications (new message, new friend, follower, etc)

    params: array ($username, $password)

    returns: array (confirmation, total, message)

  • bp.getMessages: get latest message in each thread

    params: array ($username, $password, $data['box','type','page_num','pag_page','search_terms','action','action_id','action_data'])

    returns: array (confirmation, total, message)

    sending the 'action' parameter makes it perform a specified action on a thread id ('action_id'), viz. 'delete', 'read', 'unread', or 'reply' (put reply text in 'action_data').

  • bp.verifyConnection: check if connection works

    params: array ($username, $password)

    returns: array (confirmation, message)

How do I use this plugin to redirect users?

Direct them to the following url:

http://www.yoursite.com/index.php?bp_xmlrpc=true&bp_xmlrpc_redirect=

where is one of the following:

login register settings (user settings) notifications messages friends groups favorites mentions stream (main site activity stream) site (site home page)

My question isn't answered here

Requires: PHP 5.2, WordPress 3.4.0, BuddyPress 1.5.6 or higher
Compatible up to: PHP 5.4.4, WordPress 3.5.1, BuddyPress 1.6.1
Last Updated: 2013-5-19
Downloads: 1,652

Ratings

2 stars
2.8 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.