reddit and elgg api post scripts