{"id":49507,"date":"2016-07-05T13:43:32","date_gmt":"2016-07-05T13:43:32","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/elgg-bridge\/"},"modified":"2016-07-05T16:56:24","modified_gmt":"2016-07-05T16:56:24","slug":"elgg-bridge","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/elgg-bridge\/","author":15036813,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.1","stable_tag":"trunk","tested":"","requires":"4.5","requires_php":"","requires_plugins":"","header_name":"Elgg Bridge","header_author":"Ismayil Khayredinov","header_description":"","assets_banners_color":"","last_updated":"2016-07-05 16:56:24","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/hypejunction.com\/","header_plugin_uri":"http:\/\/hypejunction.com\/","header_author_uri":"http:\/\/hypejunction.com\/","rating":5,"author_block_rating":0,"active_installs":10,"downloads":854,"num_ratings":0,"support_threads":1,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[74221,597],"plugin_category":[],"plugin_contributors":[130125],"plugin_business_model":[],"class_list":["post-49507","plugin","type-plugin","status-closed","hentry","plugin_tags-elgg","plugin_tags-integration","plugin_contributors-hypejunction","plugin_committers-hypejunction"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/elgg-bridge.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin is intended for developers that need an easy way to access Elgg's web services from WordPress.<\/p>\n\n<pre><code>\/\/ Retrieve blogs from Elgg\nelgg_bridge()-&gt;getClient()-&gt;get('blog.get_posts');\n\n\/\/ Get a user auth token\n$token = elgg_bridge()-&gt;getClient()-&gt;getAuthToken($username, $password);\n\n\/\/ Post a blog on behalf of the user\nelgg_bridge()-&gt;getClient()-&gt;post('blog.save_post', [\n   'title' =&gt; 'Blog title',\n   'text' =&gt; 'Lorem ipsum',\n], $token);\n<\/code><\/pre>\n\n<h3>Contact<\/h3>\n\n<p>If you have ideas for out of the box integrations, please email me at info@hypejunction.com<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/elgg-bridge<\/code> directory, or install the plugin through the WordPress plugins screen directly<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>Use the Settings -&gt; Elgg Bridge screen to provide the URL and the API Key of your Elgg installation<\/li>\n<\/ol>\n\n<p>You will most likely need to activate <code>web_services<\/code> plugin in Elgg.\nThis plugin assumes to have <code>web_services_apis<\/code> plugin or similar that provides a set of web services that you can access.<\/p>","raw_excerpt":"Bridges WordPress with an Elgg installation via Web Services","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/49507","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=49507"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/hypejunction"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=49507"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=49507"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=49507"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=49507"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=49507"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=49507"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}