Jump to content

updateAsync in a POST context


raym
 Share

Recommended Posts

Although I've used updateAsync to send updates to messenger, I told when used in a POST context that came from a shareAsync I can add a reply to a post. 

I'm posting here to see if anyone has done this successfully and find out what I'm missing. 

While in a context from a shareAsync (type POST). I execute the following updateAsync. The updateAsync is successful but nothing shows up on the post.
 
FBInstant.updateAsync({
action: 'CUSTOM',
image: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8CwHwAExQHAgpnk/QAAAABJRU5ErkJggg==',
template: 'UPDATE_SHOWROOM',
text: 'Purple? 76',
})
.then(() => {
console.warn('updateAsync() success!');
})
.catch((err) => {
console.error('updateAsync() ERROR! ', err);
});
 
Any advice?

 

screenShot.jpg

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...