Forums | Mahara Community
plugin for inviting facebook friends
08 October 2014, 8:42 PM
Hi I'm new to mahara.
I want to create plugin for inviting friends from facebook,twitter with REST api.
Can any one give example plugins?
09 October 2014, 11:13 AM
Most of Mahara's code base is "plugins" that are included as part of a standard installation. I'd recommend taking a look at one of the simpler one of those as a starting point. The types "auth", "artefact", and "blocktype" are the three most common ones, just look under the corresponding directories in your Mahara install to see all the ones that ship with Mahara. Which type you want to use will depend on how you want to implement this. In Mahara 1.10 we also include a generic "module" plugin type, for functionality that doesn't match any of the other existing types.
The Mahara developer documentation is on our wiki here: https://wiki.mahara.org/index.php/Developer_Area
But it's rather incomplete, so you're often better off just looking at the code directly.
02 November 2014, 5:37 PM
There is the Janrain plugin, which allows you to log in via a bunch of different social media logins. That would only be useful though if you want anyone with a Facebook account to have an account on your Mahara site. :-) It doesn't solve your invitation requirement, but maybe the login one depending on how widely you want to make your Mahara instance available.