{"id":809,"date":"2012-10-25T15:45:50","date_gmt":"2012-10-25T15:45:50","guid":{"rendered":"http:\/\/gusclass.com\/blog\/?p=809"},"modified":"2012-10-25T15:45:50","modified_gmt":"2012-10-25T15:45:50","slug":"psa-attachments-for-google-activities-have-changed","status":"publish","type":"post","link":"http:\/\/gusclass.com\/blog\/2012\/10\/25\/psa-attachments-for-google-activities-have-changed\/","title":{"rendered":"PSA: Attachments for Google+ Activities have changed"},"content":{"rendered":"<p>Earlier this week, we talked about some upcoming changes to the Activities API in the Google+ office hours. \u00a0You can see our short demo here:<\/p>\n<p><iframe loading=\"lazy\" src=\"http:\/\/www.youtube.com\/embed\/MeKPV_iWRRA\" frameborder=\"0\" width=\"560\" height=\"315\"><\/iframe><br \/>\nIf you want to see a demo \/ example of the changes, I put together this <a href=\"http:\/\/wheresgus.com\/attach_demo\/\">demo showing rendering with the old and new response formats<\/a>. My intent for the demo was to show an example of rendering attachments in the previous format alongside rendering of the attachments in the updated format.<\/p>\n<ul>\n<li>To see an example of rendering the previous payload, click the <strong>Render Previous<\/strong> button.<\/li>\n<li>To see an example of rendering the updated payload, click the Render Updated button.<\/li>\n<li>To see what happens when you use the old rendering style with the new activity\/attachment format, copy the content from the &#8220;updated response payload&#8221; textarea to the &#8220;previous response payload&#8221; textarea and click <strong>Render Previous<\/strong>.<\/li>\n<\/ul>\n<p>As a quick review, the following updates were made:<\/p>\n<ul>\n<li>Albums now contain an album attachment with images in the Thumbnails member as opposed to having attachments alongside a photo-album attachment<\/li>\n<li>Articles now nest an &#8220;image&#8221; object to the article attachment as opposed to having two attachments, an article and a photo<\/li>\n<\/ul>\n<p>Feel free to comment with any questions!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Earlier this week, we talked about some upcoming changes to the Activities API in the Google+ office hours. \u00a0You can see our short demo here: If you want to see a demo \/ example of the changes, I put together&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"amp_validity":null,"amp_enabled":true,"_links":{"self":[{"href":"http:\/\/gusclass.com\/blog\/wp-json\/wp\/v2\/posts\/809"}],"collection":[{"href":"http:\/\/gusclass.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/gusclass.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/gusclass.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/gusclass.com\/blog\/wp-json\/wp\/v2\/comments?post=809"}],"version-history":[{"count":1,"href":"http:\/\/gusclass.com\/blog\/wp-json\/wp\/v2\/posts\/809\/revisions"}],"predecessor-version":[{"id":810,"href":"http:\/\/gusclass.com\/blog\/wp-json\/wp\/v2\/posts\/809\/revisions\/810"}],"wp:attachment":[{"href":"http:\/\/gusclass.com\/blog\/wp-json\/wp\/v2\/media?parent=809"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/gusclass.com\/blog\/wp-json\/wp\/v2\/categories?post=809"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/gusclass.com\/blog\/wp-json\/wp\/v2\/tags?post=809"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}