Event importer from facebook into mobilizon

I’ve seen that there is an event importer from facebook into mobilizon, but it seem stopped since 3 years. (Contributing to Mobilizon - Mobilizon)

The idea would be great, do you know if the project is still on, or if there is an other one ?

(this post : Mobilizon questions, importing/exporting events, etc has not been answered… is it the right place to post questions here ??)

I partialy replied on your other post Feature request : Be able to create a new event by importing it from a connected calendar (or ics file) - #3 par Lahax

I’m part of the maintenance team since 2024 when Kaihuri took over from Framasoft.

If I’m correct, Framasoft planned to create some official connexion between a facebook group and a Mobilizon group, which would need to be approved by Facebook. This was not pushed much, and unfortunately we won’t have time and money to invest on that this year. But if somebody would feel like working on that, they would have our full support.

On another end, Mobilizon Import tool https://import.mobilizon.fr/ is a live thing, you can feed it with a URL or ICS feed and it extracts whatever data he finds. I’m nearly sure that it used to work for facebook, but I just tried now and it doesn’t. I guess that Facebook has changed the way they display their data or something :frowning: Maybe we can make it work again soon.

Ok, thanks.
The importer is still not working fine, but progress seems ongoing… (see Feature request : Be able to create a new event by importing it from a connected calendar (or ics file) )

we might be able to help with some friends with our little knowledge, who knows… How can we check if it is in our possibilities ?

Would you mind trying this one?

It’s using a more recent version.

Regarding contributions, a good starting point is here: Contributing to Mobilizon - Mobilizon
It’s refering to Mobilizon and not the import tool (Kaihuri / mobilizon-event-importer · GitLab) but you can transpose most of it.

Great, this new keskonfai importer works fine. At least for the first event I tried.
I will check again in the next days, but we are clearly moving forward. I’ll confirm later that it is all fine for us.

And thanks for the contribution links, we’ll have a look at what we can do.

1 Like

It looks good, and we managed to import several events from facebook.

Do you know if an app like for instance a firefox extension is planed to do this in one click while surfing on facebook ?

Also I’m wondering if this importer should also work using mobilizon events themselves (which would be useful since re-post mobilizon event is not functionning yet). I noticed it partially works, but the location and the picture are not copied. (I don’t know it this deserves a new post on the forum ?)

Glad to hear that you’re using the import tool successfully for Facebook events!

Turning the event importer into an app would be nice, I have no clue how complex it is.

I don’t get your other point, regarding “re-post”.

This re-post function would allow to take an event seen on any account in mobilizon, and post it again as part of my own group. (so i can select precisely which events are shown in my group).
This function would be really useful..


And also, an other useful function would be :
display in a mobilizon group page a shortcut button, allowing very quickly to import an event from facebook. (account group being already selected and logged-in)

I guess that should be quite simple for the developers.

Hi! Do you refer to this Display events on group page from other groups (#1051) · Issues · Kaihuri / Mobilizon · GitLab ? It’s in the backlog already :slight_smile:

Integration between Mobilizon and import tool is already listed, but not really clear how to implement: Integration between Mobilizon and Mobilizon import tool (#1581) · Issues · Kaihuri / Mobilizon · GitLab

Thanks for your feedbacks

Yes, and Yes, exactly.

Thanks, I guess we’ll wait for that to appear. And for sure they will boost attractivity of mobilizon.

:+1:

Hi @Lahax , it seems the importer is not working anymore when tryin to import an even onto keskonfai.fr… we get a blank page once connected… (on both keskonfai and mobilizon import page)

I’m currently working on a importer. A beta is available here : https://import.mobilizon.webworkers.agency. It can import events from facebook events, instagram posts and common meta tags. I’m still working on other sources (Hello Asso, Shotgun, Dice, etc.).

Feel free to use it. It would be great to have feedbacks on this project !

Source code is available here for the front-end and here for the back-end.

1 Like

Wow, great, thank you for sharing!

I’ve created an entry in the git: Document / study import tool from Dindy (#1891) · Issues · Kaihuri / Mobilizon · GitLab

@dindy have you used it successfully? In which instance? is it possible to see somewhere the events created with this tool?

We’re about to focus on interoperability, your initiative is more that welcome, we’ll have a look at it and likely add it to Mobilizon documentation ( Federation with ActivityPub - Mobilizon ).

@Nicotourist do not hesitate to share your feedbacks if you use it

Thx @Lahax !

Yes I have used it successfully on my test Mobilizon instance a lot. Almost all events are imported from the importer. Here is an example from a facebook event. I have also imported an event from facebook to mobilizon.fr (available here).

I’m not sure that interoperability is the right section. It’s more a tool that scraps data in a way that is not intended (at least for facebook and instagram) and sends them to mobilizon via the API.

Hi @dindy and @Lahax

I was away for a while, and now I see the importer is working (very) well.

Great work, congratulations, and it is very visible in the top bar, that’s great also.

I give below some comments which could improve more :

  • when importing an event from facebook, it seems that the returns (change line) are visible in the event description on keskonfai, but not in the ICal feeds.. (I read them in thunderbird, for instance this feed : https://keskonfai.fr/@evenements_autour_de_lodeve/feed/ics )
  • when using automatic import, only the identity is shown, and we need to select a group by clicking on the 3dots icon, and this is not obvious for beginners to think about :
    If the group name would be visible on the main screen, people would obviously think about choosing one.
    (by the way, I have the same problem when creating a simple normal event, sometimes it is attached to my identity instead of my group (and therefore is not displayed anywhere). I will probably create a new thread for that issue.).
  • Finally, It would be useful to have a rough idea of how often the events are fetched on the facebook page, and that information could be provided
    ”The application records the URL of an event source and will automatically import new events at regular intervals (:every day ? 5 hours ? couple of hours ? few days ?…. )
    And also are events planned in several months on facbk also shown, or only the ones in near future ?
  • ADDED proposal :
    since there is not yet an option to duplicate an event simply, the importer can be used as such :
    importing an single event, and pasting the url of the mobilizon first event.
    however the importer does not recognize the correct date… may be it is easy to solve…
    and to conclude, on an event page, there could be a button “duplicate event” using this importer.
    That would be a way to create recurrent events a little bit more simply (just by changing the date), until proper recurrent events are allowed (see
    Add recurence options for events (#20) · Issues · Kaihuri / Mobilizon · GitLab)*
    (of course if a more suitable duplication tool is on the way that may not be necessary)*

And as I say in the beginning, thanks a lot for the work done :grinning_face:

Cheers

Hi @Nicotourist ! Thx for your feedback !

when importing an event from facebook, it seems that the returns (change line) are visible in the event description on keskonfai, but not in the ICal feeds.. (I read them in thunderbird, for instance this feed : https://keskonfai.fr/@evenements_autour_de_lodeve/feed/ics )

I think it’s an issue relative to Mobilizon itself since the imported event is correctly displayed and breaklines are not in the ical event’s description (maybe on purpose ? @Lahax).

when using automatic import, only the identity is shown, and we need to select a group by clicking on the 3dots icon, and this is not obvious for beginners to think about :
If the group name would be visible on the main screen, people would obviously think about choosing one.

I agree ! It’s a UX concern. My solution was to automatically select the first user’s group when he logs in but a previous update must have change this behaviour. I gonna restore this behaviour so the group appears in the navbar. Or maybe do you have a better suggestion ?

(by the way, I have the same problem when creating a simple normal event, sometimes it is attached to my identity instead of my group (and therefore is not displayed anywhere). I will probably create a new thread for that issue.).

Strange… I just checked the source code and I didn’t see any source of bug. Moreover the event should be visible under the selected identity. Can you reproduce this bug ?

Finally, It would be useful to have a rough idea of how often the events are fetched on the facebook page, and that information could be provided
”The application records the URL of an event source and will automatically import new events at regular intervals (:every day ? 5 hours ? couple of hours ? few days ?…. )

Well for now events are fetched every 12 hours but I’m still not sure about it because the process consumes a lot of data (and cost me money…). Maybe one time per day would be sufficient ? I’ll give more indications in the app when the frequency will be stable.

And also are events planned in several months on facbk also shown, or only the ones in near future ?

Actually only the next 10 events are retrieved from facebook because the rest is only loaded when the user scroll the page. Maybe it would be possible to reproduce this behaviour with the automated tool I use and retrieve all events but I’m not sure about this for now.

since there is not yet an option to duplicate an event simply, the importer can be used as such :
importing an single event, and pasting the url of the mobilizon first event.
however the importer does not recognize the correct date… may be it is easy to solve…

I did a test and the correct date was fetched. Can you give me the URL of a mobilizon event where it fails ?

Cheers

Great solution to my point of view.

I’ll send you some screen pictures in private.

OK, and even now an generic indication like “Events are fetched approximately every 12 to 24 hours” would be enough I guess.
And the tool is great, so there will probably be more and more accounts using it… cost being an issue of concern of course.

Ok, that could be explained also, for instance like “For the moment, only the 10 next events are retrieved (from facebook) each time” (which is largely sufficient for most of the cases)

this one for instance : Rencontres Amicales Francophones du Logiciel Libre (RAFLL2026) - Mobilizon

and I also found a new issue :

sometimes by collecting several facebook accounts, I get duplicates of the same event (dozens of them!), sometime from different facebook sources, but may be also sometime from the same… (here is an example, on the 4th April 2026 : Keskonfai - Mobilizon
Would it be possible to have them suppressed in some way ? (or gathered into only one event?)
Note: this could may be also done not by the importer but as a general mobilizon feature (like for instance when filtering identical events when performing a search.)

Thanks for the great work.

1 Like

as I mentioned to @Lahax, an other simple answer would be, in case only the identity is automatically selected :

instead of showing the identity (which looks like a group), show a generic message like
“Please choose the group where you want to publish the event”

what do you think about this ?

Great solution to my point of view.

It’s online !

I’ll send you some screen pictures in private.

From what I see it’s a problem with Mobilizon itself not the import tool, right ?

OK, and even now an generic indication like “Events are fetched approximately every 12 to 24 hours” would be enough I guess.

I plan to do a better system so the next planned execution will be displayed for each automation.

Ok, that could be explained also, for instance like “For the moment, only the 10 next events are retrieved (from facebook) each time” (which is largely sufficient for most of the cases)

It’s online !

this one for instance : Rencontres Amicales Francophones du Logiciel Libre (RAFLL2026) - Mobilizon

I can’t see the error. The Mobilizon interface displays :

image

And the iCal event has values :

DTSTART;TZID=Europe/Paris:20260320T140000
DTEND;TZID=Europe/Paris:20260322T200000

Is it ok for you ?

sometimes by collecting several facebook accounts, I get duplicates of the same event (dozens of them!), sometime from different facebook sources, but may be also sometime from the same… (here is an example, on the 4th April 2026 : Keskonfai - Mobilizon

Yeah I’m sorry about that, there was a bug where the application couldn’t save the correct event identifier so it recreated the event each time. That is corrected but you have to manually delete duplicates.

instead of showing the identity (which looks like a group), show a generic message like
“Please choose the group where you want to publish the event”

But what about a user who wants to publish on behalf of his identity and not in a group ?

No it is not working for me, see pictures below :

here the event I will paste into the importer : ( Rencontres Amicales Francophones du Logiciel Libre (RAFLL2026) - Mobilizon )

pasting into one time event :

and what I get as a result (date not filled in) :

Hope you can replicate this result.

Cheers