{% extends "base.html" %} {% block title %} {{ user.name }} - {{ block.super }} {% endblock %} {% block head_css %} {% endblock %} {% block body %}

{{ user.name }}

{% if friends %}

Friends

 

Here is the list of friends in Facebook using
fb.graph.get_connections(id, "friends")["data"]

 

{% for friend in friends %}
{{ friend.name }}
{% endfor %}
{% endif %}

{% if is_current_user %}

Post a message:

 

{% csrf_token %}
{% if new_status %}

Your status has been posted to {{ user.link|add:"&sk=wall"|urlize }} {% endif %}

{% endif %}

Here is some profile info from fb.graph.get_object(id):

Username
{{ user.username }}
Gender
{{ user.gender }}
Profile
{{ user.link|urlize }}
Bio
{{ user.bio }}
LIKES
{{ user.likes }}
{% endblock %}