mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-10 18:38:49 +00:00
statusnet/twitter: Don't include the quoted text when sending an update
fbpost: Trying to beautify the posts from facebook.
This commit is contained in:
parent
a546a25107
commit
7d3bf7144f
3 changed files with 30 additions and 2 deletions
|
@ -1078,8 +1078,8 @@ function fbpost_fetchwall($a, $uid) {
|
|||
|
||||
// Only import the picture when the message is no video
|
||||
// oembed display a picture of the video as well
|
||||
//if ($item->type != "video") {
|
||||
if (($item->type != "video") and ($item->type != "photo")) {
|
||||
if ($item->type != "video") {
|
||||
//if (($item->type != "video") and ($item->type != "photo")) {
|
||||
if(isset($item->picture) && isset($item->link))
|
||||
$_REQUEST["body"] .= "\n".'[url='.$item->link.'][img]'.fpost_cleanpicture($item->picture).'[/img][/url]';
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue