import pymongo
import datetime

def shareFeedback():
    client = pymongo.MongoClient('mongodb://54.86.201.60:27000/')
    database = client['music']
    collection = database['feedback']

    post = {
        "authorName" : "Jeremy Offer",
        "authorMessage" : "Supper dooppeeer",
        "mobileDevice" : "iOS",
        "sharingTime" : datetime.datetime.utcnow()
    }

    feedback = database.feedback
    post_id = feedback.insert_one(post).inserted_id
    print post_id

shareFeedback()