Update the current code according to new codebase and twitter API; and fetch tweets by '@fedora' in the application.
I would like to work on this issue :-) Can you please assign this issue to me? @a2batic
Metadata Update from @a2batic: - Issue tagged with: UI
Metadata Update from @a2batic: - Issue assigned to thelittlewonder
@a2batic
I just went through the code of twitter request again, and it seems that we're already using the latest API. Developer Docs of Twitter API
Am I missing something here?
@thelittlewonder, @amitosh is working on app build issues, so according to the changelog[1], the javascript code has changed to typescript, therefore the function wont be working as before. I wrote new API instead of new codebase, sorry for misunderstanding.
[1] https://pagure.io/Fedora-app/pull-request/6
Till the work on build is in progress, the first thing you can do is analyzing what all hashtags and tags interest fedora community. You can discuss here about your analysis before starting to code.
@a2batic , @thelittlewonder ,
I have (accidentally) fixed the issue. There was a different set of type assertions by Angular in previous versions. Adding proper typings, solved it.
However, we can definitely improve the code around there. And may be add more channels and hashtags as suggested here.
+1, the code can be modified according to new tags and hashtags.
@thelittlewonder, any updates on this ?
@a2batic Sorry for getting on this late, I was caught up in a hackathon. Will get back to you ASAP.
Sorry, am not clear about this. - Do we need to add specific hashtags to the UI, which when clicked will fetch all those tweets? or Just show all the hashtags fedora twitter account uses?
@thelittlewonder so right now, if you observed current tweets in application, they are being taken using '@fedora_qa' account only.
So you need to identify all the important hashtags(#) and accounts(@) which interest most of the fedora community, then we can brainstorm upon how to put it into the code.
@thelittlewonder any updates on this ?
Metadata Update from @thelittlewonder: - Assignee reset
Hi @a2batic I have thought of implementing this type of UI with functionality on the Social Page:
This is Facebook Side (Twitter is in the highlighted state by mistake): <img alt="fedora_fb_social.png" src="/Fedora-app/issue/raw/files/c9cefbcd31b8dc460f2589e9679c4fa1ec92940c64254a3e38e9604205c3977f-fedora_fb_social.png" />
This is Twitter side: <img alt="Fedora_twitter_page.png" src="/Fedora-app/issue/raw/files/15b835693dce21dc2754df6b1d054438bfde996b766e86601bad7499ab7b9161-Fedora_twitter_page.png" />
The reason for two different sections is that it makes it easier to implement hashtag feature on twitter as there is no API for hashtag search on facebook.
Also, I will implement whatever usernames you will ask to implement on facebook and twitter side.
For Hashtags: We can use a fixed set of hashtags like #FOSS, #Fedora, #OpenSource or also we can check which hashtags have been used in last few posts of fedora handle. I can implement whatever method you want me to implement.
Can you assign this issue to me?
@twishi, we can add design changes later, as we still have to decide upon the final theme and other things. You can add functions for the current UI, I will assign this to you.
Metadata Update from @a2batic: - Issue assigned to twishi
Also, it will be better if you can first come up with a list of hashtags and '@s'.
@a2batic I unassigned myself this issue due to the fact that it had an [outreachy] tag. But Since the issue is dead for the last 10 days, I did some scraping and these are some interesting results I found.
<img alt="FedoraTwitterAnalysis.png" src="/Fedora-app/issue/raw/files/120b4764254b3c8b3cbf39c96540bd2aa0fcb7aea872b84ecf034bd7b88e4351-FedoraTwitterAnalysis.png" />
This is the data obtained from Twitter API for the hashtags and mentions by the fedora twitter account. I have used font size and color to distinguish between the frequency.
@thelittlewonder, That looks a good amount of information to get started with this task. I think we can have @fedora, @fedoracommunity, #fedora into consideration. What your thought ?
Sounds Good. So in addition to the tweets from Fedora Account, we also show all the tweets that have #fedora or have mentioned @fedora/@fedoracommunity, right?
@thelittlewonder, sounds fine.
Metadata Update from @amitosh: - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.