Closed janhalama closed 2 years ago
"Lookup" instead of search implies that you have better idea what you are looking for, while search is rather more general. But I welcome any other suggestions.
I understand your concerns, Lookup sounds much more appropriate in this case.
I think we don't have any use-case for fetching the profile ID from username in case of Twitter; IMO the SearchByMentions could accept username as an alternative to profileId? (can be extended later)
Right we do not have it. username
seems to be appropriate naming as even Facebook requires to create username
for Facebook page to be able to mention it.
@jnv I changed the name of profile and use-cases as you proposed. 🙏
Description
This PR adds
social-media/posts-lookup
profile withFindByHashtag
andFindByMention
use-cases. PR adds also maps formock
andtwitter
providers.Motivation and Context
Types of changes
Checklist: