user881928
user881928

Reputation:

Android:Implementing 'Facebook like application' through facebook app

I am making an app in android and i am badly stuck in integrating facebook.I got authenticated and I am able to post to wall via my android app. But i don't know how to make these three button working as depicted in image

  1. Friend Requests
  2. Messages
  3. Notifications

enter image description here

Any help regarding this will be appreciated..

Upvotes: 0

Views: 247

Answers (1)

Somnath Muluk
Somnath Muluk

Reputation: 57646

I was researching on your problem. I think you can achieve your aim by fql queries.

  1. Friend Requests
    Table name: friend_request

    SELECT uid_from, time, message FROM friend_request WHERE uid_to = me();

  2. Messages
    Table name: mailbox_folder

    SELECT name, unread_count, total_count FROM mailbox_folder WHERE folder_id = 0 and viewer_id = me()

  3. Notifications
    Table Name: notification

    SELECT notification_id, sender_id, title_html, body_html, href FROM notification WHERE recipient_id= AND is_unread = 1 AND is_hidden = 0 AND created_time >

See fql technical-guides

Upvotes: 2

Related Questions