@facebook_required(scope='publish_actions')
@csrf_protect
def open_graph_beta(request):
 message = request.POST.get('message')
 if message:
  fb = get_persistent_graph(request)
  entity_url = 'http://www.fashiolista.com/item/2081202/'
  fb.set('me/fashiolista:love', item=entity_url, message=message)
  messages.info(request, ('Frictionless sharing to open graph beta action fashiolista:love with item_url %s, this url contains open graph data which Facebook scrapes' % entity_url))

@ facebook_required ( scope = 'publish_actions' ) @ csrf_protect def open_graph_beta ( request ) : message = request . POST . get ( 'message' ) if message : fb = get_persistent_graph ( request ) entity_url = 'http://www.fashiolista.com/item/2081202/' fb . set ( 'me/fashiolista:love' , item = entity_url , message = message ) messages . info ( request , ( 'Frictionless sharing to open graph beta action fashiolista:love with item_url %s, this url contains open graph data which Facebook scrapes' % entity_url ) )
simple example on how to do open graph postings .