javascript - Facebook og:image throwing errors for byte array -


i'm trying let users share things our site, i'm having trouble when try use image byte array image.

it works fine when use url regular image hosted on site, when try use image stored in database gives me error.

here's example metatag image when it's using byte array:

this example of javascript i'm using share it:

fb.ui({ method: 'send', link: 'http://myurl.com/home/pagetoshare', picture: 'http://myurl.com/home/getimg?imageid=1', name: 'shared page', caption: '', description: '' }, function (response) { });

and error message get:

an error occurred. please try again later.

api error code: 100 api error description: invalid parameter error message: picture url not formatted

the first time tried going shared page in facebook debugger gave me warning saying image small, odd because image it's getting larger 1 tried hosted in images folder, , 1 works fine.

now when try in debugger doesn't give me errors, when try share site still throws error.

i haven't been able find how use byte array images this, figure must possible.

please help. thanks.


Comments

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -