I take some string from Postgresql database by python code and trying to send it to Facebook by API.
cur.execute("SELECT text_column FROM table")
.....
print graph.post(path = str(row["FB_acnt_id"])+'/notifications', template = str(row["_text"]), access_token = fb_token_app, href = str(row["_href_text"]))
Everything is working fine, except text with apostrophe. For example: Phrase - It's is shown like - It\047s
How to resolve this problem ?
Thanks.