I'm storing FB post ids in a sqlite table. Now I want to query other data in the FB graph using the post_id. The hack below works but it feels pretty hokey...
cur.execute("SELECT post_id FROM fbposts")
data_all = cur.fetchall()
for x in data_all:
y = "%s" % x
the value of y is now something like 96085205666_10153983162390667 and can be used to construct a new FB api call but there must be a more pythonic way