# Flutter: Unable to get feed type

**URL:** https://forum.social.plus/t/flutter-unable-to-get-feed-type/895
**Category:** General
**Created:** [August 28, 2023, 9:31am UTC](https://forum.social.plus/t/flutter-unable-to-get-feed-type/895 "2023-08-28T09:31:45Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![maddy0028](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@maddy0028](https://forum.social.plus/u/maddy0028)
#### Post date: [August 28, 2023, 9:31am UTC](https://forum.social.plus/t/flutter-unable-to-get-feed-type/895/1 "2023-08-28T09:31:45Z")

</div>

When I am fetching post form community, I am not getting feed type in post. It shows null. How get feed type for any post?  
Below is the code snippet I am using:

AmitySocialClient.newPostRepository()  
.getPosts()  
.targetMe()  
// .feedType(AmityFeedType.PUBLISHED)  
.sortBy(AmityPostSortOption.LAST\_CREATED)  
.includeDeleted(false)  
.getPagingData(token: token, limit: 100);

Do I need to pass feed type while fetching the post? If so what If I need to show different UI for different feed type status?

---

<div class="post-metadata">

### Author: ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)
#### Post date: [August 29, 2023, 6:35am UTC](https://forum.social.plus/t/flutter-unable-to-get-feed-type/895/2 "2023-08-29T06:35:28Z")

</div>

Hi @maddy0028 ,

Please find details on how to get feed type : [Post Review - Amity Docs](https://docs.amity.co/social/posts/post-review#get-feed-type)

Via different UI mentioned, can you please help elaborate what you mean by that.

Thank you,  
Amity Support
