As the fql is deprecated for versions v2.1 and higher, So I am not able to access the data using fql. Is there any way to fetch only my posts by group id.
Please correct me, if Im wrong.
You can get all posts of a group via the GraphAPI endpoint
v2.5/{group-id}/feed
Anyways, you are not able to perform this action if you are not "Admin" of the specific group. You need the additional permission of 'user_managed_groups'.
To drill it down to a specific user query against
v2.5/{group-id}/feed?fields=from,message
Then you have have the users' id and the message. Just iterate of the response and filter out by the user of your choice.