fixed bug in __init__.py

'type' was removed as a valid parameter for the posts method, I've restored it.