Pedro Miguel

Apr 24, 2019, 9:27:17 AM4/24/19
to MIT App Inventor Forum

I'm developing an news app for a newswebsite. It was requested that the app had to notify the user whenever an news would be published.
I don't know how to do that...

My app is basicaly using webviwer component.
Message has been deleted


Apr 24, 2019, 10:09:41 AM4/24/19
to MIT App Inventor Forum
Your original post is here!profile/mitappinventortest/APn2wQeJ2Fm22pEXFd8hy3YyyPlWGYC8thcCTWc5_agAGnta78XZ9uewUHJNYGNhTtjA5En2Zic9/mitappinventortest/s20DmYHSNsU/NX6pVHMwAwAJ  Pedro.

You probably cannot provide a notification to let a user know that a web page has been modified, especially Facebook.   To do that you would have to continually monitor the content of a web page , possibly using a Clock and a Web component)  and send the 'notification' whenever there is a change, however, what you probably will get is a 'notification' sent every time an ad on that page is checked. You do know that App Inventor native Blocks cannot send notifications except locally on a device when your app is running.  If the app is not running, (remember App Inventor 2 apps cannot run in the background) then what you want to do is not possible.

You might be able to monitor news with an  RSS feed on an appropriate web page (a web page that supports RSS feeds).  You are attempting to hijack data from Facebook does not have an rss feed.  ordinarily.    See perhaps this to find out if your facebook page can have an rss    Something might be possible.   You would have to experiment.   Will it work?   I have no idea.

. A Forum discussion about RSS feeds might help!topic/mitappinventortest/VZKcSdryd-k

and Tony Barnes Feed Me example is reproduced here!searchin/mitappinventortest/feed$20me%7Csort:date/mitappinventortest/kdleVpIJqwc/UcfuGc3YOZAJ   if you get your news from sources other than facebook.


Reply all
Reply to author
0 new messages