77 Jahre alter Japaner malt Kunstwerke mit Microsoft Excel.

YouTube: The Michelangelo of Microsoft Excel (Great Big Story)

Joe Slam Friendica
@Friendica Developers
Dear Developers,

I would like to post a picture to my friendica account from a python script. I came along to from the help pages.
It is described there, how to post a status message, but it seems to be all out-dated...

could anyone please give an example on how to upload and post a picture to friendica using python?
thx in advance
11 Kommentare mehr anzeigen

  1.  import requests
  3.  url = "https://{}:{}@{}//api/statuses/update.xml".format(
  5.  )
  7.  photo = open('image,jpg', 'rb')
  9.  multipart_form_data = {
  10.   'media': photo,
  11.   #optionally
  12.   'source': "name of your app",
  13.   'status': "text of the post",
  14.   'title': "Title of the post",
  15.   'in_reply_to_status_id': 'id of the post to reply to (if this is a reply)',
  16.   'contact_allow': [ list of contacts id to set the post private to those contacts]
  17.  }
  19., files=multipart_form_data)
Joe Slam Friendica
thanks for your script, it uploads and posts the picture without problem.
However, all other options, like "source", "title" and - most importantly - "status" are just ignored/empty/not posted.
I'm quite surprised it worked almost correctly at first try :-)

change it as
  1.  multipart_form_data = {
  2.  'media': photo,
  3.  }
  5.  #optionally
  6.  params = {
  7.   'source': "name of your app",
  8.   'status': "text of the post",
  9.   'title': "Title of the post",
  10.   'in_reply_to_status_id': 'id of the post to reply to (if this is a reply)',
  11.   'contact_allow': [ list of contacts id to set the post private to those contacts]
  12.  }
  14., params=params, files=multipart_form_data)
better :
  1., data=params, files=multipart_form_data)

Joe Slam Friendica

Super Mario Bros Meets Metal

@Music & Vinyl

Joe Slam Friendica
(1929). Sex education class. Look at the range of facial expressions.Bild/Foto


Joe Slam Friendica
Ich hab noch ein paar Feed-Schleudern erstellt, falls jemand Interesse hat:

@History in Pictures (inofficial) History in Pictures (Instagram)
@Neo Magazin Royal (inoffiziell) Neo Magazin Royal (Twitter/Instagram/Youtube)
@Methodisch Inkorrekt (inoffiziell) Methodisch Inkorrekt (Twitter/Youtube/RSS)

Joe Slam Friendica

That moment...

...when you realize that St. Nicholas was a klingon...


Joe Slam Friendica

This is how silly flat earthers look to me. #science

Tumblr: Holy Koolaid


Joe Slam Friendica
habe gerade ein tolles Laserschwert beim LIDL erstanden... :/

Anscheinend zündet das Plasma nicht korrekt. Hoffentlich ist wenigstens der Sound in Ordnung...

Joe Slam Friendica
Guten Tag, ich bin ein Testaccount für Youtube-HowTo-Videos.

Friendica - YouTube

Account erstellen... Kontakte hinzufügen... Kontakte in Gruppen sortieren......
...did some german howto-videos on creating account and adding contacts...

sind jetzt aber doch schon einige geworden.... (directory)

(...bin aber alles ich...)

extra und allein und nur für @Yusuf Granate

@Die Sendung mit der Maus (inoffiziell)

Hier spiegel ich ab heute die Tweets der Maus.

Da fällt mir spontan die Geschichte mit der dunklen Materie ein...

YouTube: Dunkle Materie (Sendung mit der Maus 2011) (Joe Slam)

Sendung mit der Maus vom 04.12.2011 - Armin erklärt, was dunkle Materie ist.
@Die Sendung mit der Maus (inoffiziell)
39 Kommentare mehr anzeigen
Zum Hintergrund bezüglich SSL ohne eigene Domain:
also das ist alles ziemlich komisch.
Meine accounts neo@ weed@ und sind von Diaspora aus erreichbar, die accounts urknall@ und maus@ nicht.
Alle Accounts haben die gleichen Einstellungen...
Naja,... in ein paar Tagen zieht mein Server um, dann sollte auch SSL gut funktionieren - aber daran scheint es nicht zu liegen...

Dampft hier jemand? / Are vapors here?

"No significant changes could be detected over the observation period from baseline in the EC users or between EC users and control subjects in any of the health outcomes investigated. Moreover, no pathological findings could be identified on HRCT of the lungs and no respiratory symptoms were consistently reported in the EC user group. Although it cannot be excluded that some harm may occur at later stages, this study did not demonstrate any health concerns associated with long-term use of EC in relatively young users who did not also smoke tobacco."

Health impact of E-cigarettes: a prospective 3.5-year study of regular daily users who have never smoked

Health impact of E-cigarettes: a prospective 3.5-year study of regular daily users who have never smoked

how to mirror Instagram Posts

@Friendica Support

Dear Supporters,
I am follwing some Instagrams account using instatom, e.g.

While this is working nice, I have a problem with mirroring these instatom/instagram posts.

If I select "mirror as own posts" or "mirror as forwarded posts", the feed will just stay empty. So, there are no posts, and the feed does not seem to update at all. Thus, nothing is "mirrored".

If I put it back to "do not mirror", everything works fine again, it will update and show all posts and images.

If I try to mirror instatom posts via IFTTT, on RSS-feed states: "Feed has items without valid urls".
Is there another way to mirror Instagram posts with fotos?
7 Kommentare mehr anzeigen
IFTTT has a specific IF for Instagram posts.
yeah, but like facebook, it is only connected to your own account. I like to mirror foreign accounts...
Fabio Friendica
The w3c feed validator ( ) says that the first feed does not validate, while the second one yes :-)


Eddis Durst und Wurst Express in Witten-Annen

Bei Eddi wird die Wurst noch mit’m Herzen gebraten

An ihrer Theke in Witten-Annen steht immer eine lange Schlange: Eddi und Detlef Berkenberg betreiben den berühmten „Durst & Wurst Express“.

Jemand ausm Ruhrpott hier? ein öffentliches Forum, welches Ruhrpott-Fotos von Instagram spiegelt:

neuer älter