mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
fbsync/fbpost: Trying to be able to more often fetch pictures in its original size.
This commit is contained in:
parent
24de6d38a9
commit
225bb0ea3f
2 changed files with 5 additions and 4 deletions
|
@ -1055,7 +1055,7 @@ function fbpost_fetchwall($a, $uid) {
|
|||
|
||||
if (($type == "photo") AND isset($item->object_id)) {
|
||||
logger('fbpost_fetchwall: fetching fbid '.$item->object_id, LOGGER_DEBUG);
|
||||
$url = "https://graph.facebook.com/v2.0/".$item->object_id."/?access_token=".$access_token;
|
||||
$url = "https://graph.facebook.com/".$item->object_id."?access_token=".$access_token;
|
||||
$feed = fetch_url($url);
|
||||
$data = json_decode($feed);
|
||||
if (isset($data->images)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue