javascript - facebook manipulate image from link service -


if paste link in private message in facebook, thing gets biggest image off site. there way create script call facebook servers given url , returned link javascript?

the idea create input given url in , return url of image.

the idea when put url in facebook comment/message/post, facebook tries give users more url string hard read, giving no idea link might say.

so avoid difficulty , give user more info link without visiting link itself, facebook access content of url parse way , meta content it, if meta data missing they'll parse other images off web page , present in better way.

about question if understand goal correctly, don't need involve facebook in this, write server side (php script) details of url , use it. can finds tons of such scripts.

doing in php have no issue cors. give try if still face problem present try here @ stackoverflow. sure thousands of users in problems.

cheers


Comments

Popular posts from this blog

php - render data via PDO::FETCH_FUNC vs loop -

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

The canvas has been tainted by cross-origin data in chrome only -