title: Python-Facebook API: How do I get the profile_ids of all the people who have liked my recent posts on facebook using Python Facebook API?
body: <p>These are some things that python-facebook graph API tells me:</p>
  
  <p><strong>Methods</strong></p>
  
  <ol>
  <li><p><code>get_objects</code>: 
  Returns all of the given objects from the graph as a dict. Each given ID maps to an object. <br/>
  Parameters: <br/>
  <code>ids</code> – A list containing IDs for multiple resources. <br/> <br/>
  Example:<br/></p>
  
  <pre><code>post_`ids = ['post_id_1', 'post_id_2']
  posts = graph.get_objects(ids=post_ids)
  # Each given id maps to an object.
  for post_id i`n post_ids:
     print(posts[post_id]['created_time'])
  </code></pre></li>
  <li><p><code>get_connections</code>:
  Returns all connections for a given object as a dict.<br/><br/>
  Parameters:<br/>
  <code>id</code> – A string that is a unique ID for that particular resource.<br/>
  <code>connection_name</code> - A string that specifies the connection or edge between objects, e.g., feed, friends, groups, likes, posts. If left empty, <code>get_connections</code> will simply return the authenticated user’s basic information.<br/>
  <br/>
  Example:<br/>
  Get all of the authenticated user's friends</p>
  
  <pre><code>friends = graph.get_connections(id='me', connection_name='friends')
  # Get all the comments from a post
  comments = graph.get_connections(id='post_id', connection_name='comments')
  </code></pre></li>
  <li><p><code>put_like</code>:
  Writes a like to the given object.<br/> <br/>
  Parameters:<br/>
  <code>object_id</code> - A string that is a unique id for a particular resource. <br/>
  Example:<br/></p>
  
  <pre><code>graph.put_like(object_id='comment_id')
  </code></pre></li>
  </ol>
  
  <p><br/>
  Source: <a href="http://facebook-sdk.readthedocs.org/en/latest/api.html" rel="nofollow">http://facebook-sdk.readthedocs.org/en/latest/api.html</a>  <br/> <br/></p>
  
  <p>So, How do I get the posts that are recently liked (<code>get_objects</code>) and the profile ids of people who have liked those posts (<code>get_connections</code>) and put a like on the friends posts who had liked my posts (<code>put_like</code>)? </p>