Re FC_Comp_Source_RedditNewsHeadlines.fcfx

For general Flowcode discussion that does not belong in the other sections.
Post Reply
Amtor
Posts: 52
http://meble-kuchenne.info.pl
Joined: Thu Dec 17, 2020 4:35 pm
Has thanked: 20 times
Been thanked: 15 times

Re FC_Comp_Source_RedditNewsHeadlines.fcfx

Post by Amtor »

I happened to come across this source code on on the wiki page, but I can see it as a component anywhere.
Sorry if this has been asked about before, I did have a search but didn't find much.
Why is it not saved as a component I wonder.

Thanks

Mark

Second try, think I attached the wrong file last time
Attachments
FC_Comp_Source_RedditNewsHeadlines.fcfx
(24.64 KiB) Downloaded 9 times

chipfryer27
Valued Contributor
Posts: 1695
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 374 times
Been thanked: 585 times

Re: Re FC_Comp_Source_RedditNewsHeadlines.fcfx

Post by chipfryer27 »

Hi

Just guessing that it may have been deprecated, and was intended as an example to interact. I see though that in searching components there is no entry for Reddit News but there is for BBC News. Principle of operation most likely the same.

Regards

Amtor
Posts: 52
Joined: Thu Dec 17, 2020 4:35 pm
Has thanked: 20 times
Been thanked: 15 times

Re: Re FC_Comp_Source_RedditNewsHeadlines.fcfx

Post by Amtor »

Thanks for the reply
The BBC News component used to work really nicely, but it stopped one day and I could never make it work again. The BBC Weather component though works fine. I just thought I might try that one to see if it had any life in it. But I don’t think my latest license is valid to turn it into a component though.

Thanks

Mark

medelec35
Matrix Staff
Posts: 2089
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 646 times
Been thanked: 704 times

Re: Re FC_Comp_Source_RedditNewsHeadlines.fcfx

Post by medelec35 »

Hello.
The component did not work correctly, so it was left.
Because there was a source file, it automatically was available via the Wikki.
Martin

chipfryer27
Valued Contributor
Posts: 1695
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 374 times
Been thanked: 585 times

Re: Re FC_Comp_Source_RedditNewsHeadlines.fcfx

Post by chipfryer27 »

Hi

The problem with writing any component that interacts with 3rd-party servers, such as News / Weather etc is that you are at the mercy of the service provider. What works today may not work tomorow as they have changed something.

Personally, I found the examples to be helpful in learning how to use the components to interact. I think there is a "hello world" example somewhere that interacts with a server held by Matrix, so it works well (or used to). From that example it lead to me writing code to interact with all sorts of services.

Regards

Post Reply