# "liveReactions" is not exported from amityco/ts-sdk

**URL:** <https://forum.social.plus/t/livereactions-is-not-exported-from-amityco-ts-sdk/824>\
**Category:** Web\
**Created:** [July 16, 2023, 11:38am UTC](https://forum.social.plus/t/livereactions-is-not-exported-from-amityco-ts-sdk/824 "2023-07-16T11:38:53Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahmedsakri](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@ahmedsakri](https://forum.social.plus/u/ahmedsakri)\
**Post date:** [July 16, 2023, 11:38am UTC](https://forum.social.plus/t/livereactions-is-not-exported-from-amityco-ts-sdk/824/1 "2023-07-16T11:38:53Z")

</div>

Hi,  
I am using amityco/ts-sdk version 6.5.0,

I tried to use liveReactions as mentioned in documentation but got this error

---

<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:** [July 17, 2023, 9:50am UTC](https://forum.social.plus/t/livereactions-is-not-exported-from-amityco-ts-sdk/824/2 "2023-07-17T09:50:32Z")

</div>

Hi @ahmedsakri ,

Can you please help share the error? It’s not attached in your post

Thank you,  
Amity Support

---

<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:** [July 17, 2023, 10:25am UTC](https://forum.social.plus/t/livereactions-is-not-exported-from-amityco-ts-sdk/824/3 "2023-07-17T10:25:56Z")

</div>

Hi @ahmedsakri ,

Or is this the same issue as another post you’ve made? [Post reaction are getting always blank array](https://forum.social.plus/t/post-reaction-are-getting-always-blank-array/825). Your confirmation would be appreciated so we can close this case.

Thank you,  
Amity Support

---

<div class="post-metadata">

**Author:** ![ahmedsakri](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@ahmedsakri](https://forum.social.plus/u/ahmedsakri)\
**Post date:** [July 17, 2023, 12:53pm UTC](https://forum.social.plus/t/livereactions-is-not-exported-from-amityco-ts-sdk/824/4 "2023-07-17T12:53:43Z")

</div>

Hi,  
Thank you for reaching me out soon.  
This both error are different.  
My current code to fetch the reaction users is

```auto
ReactionRepository.getReactions(
      { referenceId: postId, referenceType: 'post' },
      ({data}) => {
        setReactions(data);
      }
    );

```

So earlier, I get list of userIds who like post but now i get empty array even i have likes on that post.  
So this is my post where post has 2 likes.

 ![Screenshot 2023-07-17 at 6.14.57 PM](https://europe1.discourse-cdn.com/flex013/uploads/amity/original/1X/14861ef6796ea4030c6c567ad7d97db46b05c618.png)

so when i click on that to show who likes it it gives me blank.

 ![Screenshot 2023-07-17 at 6.15.04 PM](https://europe1.discourse-cdn.com/flex013/uploads/amity/original/1X/79f0f2eb6a5aecec19b4505c14bd79d7719ab3b8.png)

so i checked the doc to get the reaction user list so i tried to use **liveReactions**

> **[Query Reactions](https://docs.amity.co/social/reactions/query-reactions)**

but i get below errors.

 ![Screenshot 2023-07-17 at 6.19.33 PM](https://europe1.discourse-cdn.com/flex013/uploads/amity/original/1X/16bafd294424af686f5f546d95e9dd929bca5c61.png)

 ![Screenshot 2023-07-17 at 6.22.06 PM](https://europe1.discourse-cdn.com/flex013/uploads/amity/original/1X/76c18e0c031f1ccacd14e1047d47c3cd68dbe2f6.png)

I hope you understand my issue.  
This was working perfectly some day ago and breaks now.  
Please solve ASAP

---

<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:** [July 18, 2023, 3:45am UTC](https://forum.social.plus/t/livereactions-is-not-exported-from-amityco-ts-sdk/824/5 "2023-07-18T03:45:17Z")

</div>

@ahmedsakri ,

Noted we’re investigating for you right now.

However (concerning the other posts you made), this seems to be the exact same code and issue (return blank array). If they are different errors can you please help share the other error in this other post [Post reaction are getting always blank array](https://forum.social.plus/t/post-reaction-are-getting-always-blank-array/825)?

Thank you,  
Amity Support

---

<div class="post-metadata">

**Author:** ![ahmedsakri](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@ahmedsakri](https://forum.social.plus/u/ahmedsakri)\
**Post date:** [July 19, 2023, 1:52pm UTC](https://forum.social.plus/t/livereactions-is-not-exported-from-amityco-ts-sdk/824/6 "2023-07-19T13:52:52Z")

</div>

Both issues are same but i posted twice because i used multiple ways to fetch it and both are not. working on my side.

---

<div class="post-metadata">

**Author:** ![ahmedsakri](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@ahmedsakri](https://forum.social.plus/u/ahmedsakri)\
**Post date:** [July 25, 2023, 11:17am UTC](https://forum.social.plus/t/livereactions-is-not-exported-from-amityco-ts-sdk/824/7 "2023-07-25T11:17:19Z")

</div>

@cijin Any update on this? We are waiting

---

<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:** [July 27, 2023, 10:48am UTC](https://forum.social.plus/t/livereactions-is-not-exported-from-amityco-ts-sdk/824/8 "2023-07-27T10:48:06Z")

</div>

Hi @ahmedsakri ,

Apologies for delay, the doc has been updated. Please retry with updated code.

Thank you,  
Amity Support

---

<div class="post-metadata">

**Author:** ![ahmedsakri](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@ahmedsakri](https://forum.social.plus/u/ahmedsakri)\
**Post date:** [August 2, 2023, 10:52am UTC](https://forum.social.plus/t/livereactions-is-not-exported-from-amityco-ts-sdk/824/9 "2023-08-02T10:52:39Z")

</div>

Hi @SocialPlus_Support @cijin,  
I installed latest version of package and used the new doc.  
**“@amityco/ts-sdk”: “^6.5.5”,**

but till i am getting same error

```auto
The requested module '/node_modules/.vite/deps/@amityco_ts-sdk.js?v=c38afd20' does not provide an export named 'liveReactions' (at PostComments.tsx:8:10)

```

Please look into this matter urgently. I am stuck.

---

<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 7, 2023, 6:52am UTC](https://forum.social.plus/t/livereactions-is-not-exported-from-amityco-ts-sdk/824/10 "2023-08-07T06:52:12Z")

</div>

Hi @ahmedsakri ,

We’re looking into it and will update you once confirmed asap.

Thank you,  
Amity Support

---

<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 9, 2023, 5:25am UTC](https://forum.social.plus/t/livereactions-is-not-exported-from-amityco-ts-sdk/824/12 "2023-08-09T05:25:45Z")

</div>

Hi @ahmedsakri ,

It seems there was a mistake in our doc, please change liveReactions to getReactions. Does that solve your issue?

Thank you,  
Amity Support

---

<div class="post-metadata">

**Author:** ![ahmedsakri](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@ahmedsakri](https://forum.social.plus/u/ahmedsakri)\
**Post date:** [August 17, 2023, 9:22am UTC](https://forum.social.plus/t/livereactions-is-not-exported-from-amityco-ts-sdk/824/13 "2023-08-17T09:22:38Z")

</div>

Thank you so much @SocialPlus_Support. It works finally.
