This is a topic in Backpack API

Bug in Share Page

 
Avatar Mike Stead 3 posts

I just wanted to post a bug which I believe I’ve discovered in the share page method.

The following option seems to not to work:

<request> <token>202cb962ac59075b964b07152d234b70</token> <page> <public>1</public> </page>
</request>

That is, it doesn’t make the page public :(

 
Avatar Mike Stead 3 posts

It also appears that if I have shared a page with some friends, and then call the share page method with just the option of making the page public or closed, and not provide email_addresses, this clears the list of friends I’ve shared with.

I’m not sure if this is meant to happen, but it would seem to make sense to only update the page’s shared friends if I provide a new list of friends. i.e. include the <email_addresses>...</email_addresses> element in my request. Otherwise the param is not optional like the docs describe.

 
Avatar Jeremy Kemper Administrator 62 posts

Indeed, this is in error. I’ll take a look.

 
Avatar Jeremy Kemper Administrator 62 posts

The public API, that is. The email_addresses bit is just a poor API :)

 
Avatar Mike Stead 3 posts

Any update on the fix to the public api? Still seems to be broken :(

Signup or login to post a reply.