Skip to content

Instantly share code, notes, and snippets.

@IlianIliev
Created March 19, 2014 11:47
Show Gist options
  • Save IlianIliev/9640070 to your computer and use it in GitHub Desktop.
Save IlianIliev/9640070 to your computer and use it in GitHub Desktop.
# facebook-sdk==0.4.0
def facebook_share():
import facebook
graph = facebook.GraphAPI('you_key_here')
profile = graph.get_object("me")
# friends = graph.get_connections("me", "friends")
group = graph.get_object('816597541699805')
#print group
graph.put_object('816597541699805', "feed", link="http://www.pinterest.com/pin/67976275600077346/")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment