Answer the question
In order to leave comments, you need to log in
Adding a photo with a link and an icon?
Gentlemen - help plz ... already fucked up.
The client wants to post a link to the photo as on Instagram
clip2net.com/s/1NsAx
when after on facebook I use the php-SDK
developers.facebook.com/docs/reference/api/photo/
if you believe him, then both the link and the icon can be transferred ...
the photo is fasting normally, but there is a problem with the link :( maybe someone has come across it - it’s already fucked up :(
code:
$params = array(<br/>
'source' => '@' . $photo,<br/>
'message' => $message,<br/>
'icon' => '@'.$_SERVER['DOCUMENT_ROOT'].'/img/logoicon.png',<br/>
'created_time'=>date('c'),<br/>
'link' => 'http://'.$_SERVER['SERVER_NAME'].$link<br/>
);<br/>
$ret_obj = $facebook->api('/me/photos', 'POST', $params);<br/>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question