How can I show comments of clicked feed only

facebook show all comments by default
can't see comments on facebook 2019
who can see my reply on facebook
how to get to the first comment on facebook
how to unfilter comments on facebook
facebook view more comments
can't see replies to comments on facebook
how to find comments made by someone on facebook

I'm stuck in a situation, in a nested loop. The top loop iterating over the Feeds array and every feed in Feeds have comments array. This comments is used for inner loop.

My problem is, I have Comment button and on click of that button, I want to show the list of comments only for that feed post. But instead of showing comments on current feed post, it is showing comments for all other feeds also, that's because of use of only one Boolean variable showComments created inside .ts file.

So how can make that work for only the given context Feed post?


<ng-container *ngFor="let feed of feeds">
  <div class="ed-card ed-card-feed">
    <div class="ed-card-feed--footer">
      <div class="card-feed-values">
        <a class="mr-4"><span>{{feed.likes_count}}</span> Likes</a>
        <a><span>{{feed.comments_count}}</span> Comments</a>
      <div class="card-feed-actions">
        <a class="mr-5" (click)="likePost("><span></span> Like</a>
       <a href="javascript:void(0)" class="mr-5" (click)="showComments = true"><span></span> Comment button</a>
    // Below  div needs to be open for that particular feed only
    <div *ngIf="showComments" class="ed-card-feed--comments">
      <div class="feed-comments-list">
        <ng-container *ngFor="let comment of feed.comments?.edges">
          <div class="comment-list-item">
            <p class="comment-box mt-1">

P.S. - Please don't confuse with feed.comments?.edges that's just because of GraphQL. It is just an array.


You can maintain an array of showComments[] equal to size of feeds with initially set to false. showComments[false,false...]

<ng-container *ngFor="let feed of feeds; let myIndex = index"">
 //code here
<a href="javascript:void(0)" class="mr-5" (click)="showComments[myindex] = true"><span></span> Comment button</a>

//check if true

<div *ngIf="showComments[myindex] === true" class="ed-card-feed--comments">

How can I view “all comments”, instead of just “most relevant , How can I view “all comments”, instead of just “most relevant”. News Feed. Feedback. It was already aggravating  Here’s how it works. When you comment on someone’s post (status update or link or photo or anything they’ve shared), whoever can see the original post can also see your comment. You can quickly determine the privacy setting of the original post by the icon next to it. The Globe icon means “ Public “. The picture of two small heads means “

Instead of a boolean, you can define a selectedFeeds array:

selectedFeeds = new Array<Feed>();

In the template, you add the feed that has been clicked to selectedFeeds:

<a href="javascript:void(0)" class="mr-5" (click)="selectedFeeds.push(feed)>Comment button</a>

and you filter the comments according to the selected feeds:

<div *ngIf="selectedFeeds.indexOf(feed) >= 0" class="ed-card-feed--comments">

How to jump to friend's comment on video or photo, How can I jump to, or directly view, what that friend in particular has written? I.e. How can I avoid having to click show more comments a billion times and then  In iOS, you can do the same thing by selecting the menu icon at the bottom of the app then choosing More > See More> Feeds > Most Recent. I knowit's a lot of steps, but it's worth it if you really want to see your feeds in chronological order.

The best way to achieve this is to separate the code to different components. And since each of the component will have it's own instance of comments - you won't have a problem creating a local variable and showing/displaying the comments in there.

I've created an example of how it can be implemented: stackblitz

Who can see your comments and likes on Facebook?, All my status updates and photos appear on my Friends' News-feed 5 likes on a picture but I can only see 4 people when I click on the icon,  No error, which is strange. It normally asks me to log in, I use the facebook login option. After that I go to post, and nothing happens. I can click the post reply button, and it does nothing. I even tried just logging in normally and still no luck. MSN is the only place with this problem, I can post comments any place else like always.

Why does Facebook say that there are 2 comments when there's , Why do some replies to Facebook comments show up directly below the comment, and Facebook may even show you that you have 50 messages when you have only one. (you can still view it if you click it in this case); You have been blocked by but you never answer, because it simply does not show in your feed… Or, you can click on the “Tracking” button to access the options in the Tracking section. Once you’ve selected All Markup, you will immediately see a line connecting each comment to its corresponding text. If you have a lot of comments in your document, the All Markup view may be a bit confusing.

Instagram now lets everyone filter comments using blocklists, will , It's not only my personal wish to do this, I believe it's also our responsibility as a The company is also rolling out another change that will show more in the comments preview you see on posts in the feed or on a profile,  Expand or collapse the comments. Click Expand All or Collapse All in the Comments list options menu. To expand an individual comment, click the comment or click (), in the comment. To collapse an individual comment, click in the comment. Create or Print Comment Summary. Import and Export comments. Export to Word or AutoCAD. Specify Commenting Preferences.

Inserting, Editing, Deleting, Showing and Hiding Comments in Excel , After you insert comments in cells, you can edit, show, hide and delete comments​. Note that Check Indicators only, comments on hover to display the red markers. Click Show all Comments in the Comments group to hide the comments. Visit Us On Facebook Check Our Feed Visit Us On Twitter Visit Us On Linkedin  Word doesn't always display the complete text of a comment in a balloon. This can happen when the page contains many comments or very long comments. To see the complete text for all comments in a document, view the comments in the Reviewing pane. Word 2010 and Word 2007. On the Review tab, click Reviewing Pane in the Tracking group, and then

  • It will work but everytime the feed will change the previous feed comment-box will be closed
  • The question mentioned that you wanted to see the comments "only for that feed post". I modified my answer to allow the selection of multiple feeds.
  • pushing into selectedFeeds is also a good way. Just might cost space if feed object is huge.
  • @Helpinghand - Not really. It only adds a Feed pointer to the array, not the Feed content.