http://wikimediafoundation.org/wiki/Terms_of_Use
Facebook could have scraped Wikipedia without asking, but as it happens, there is an agreement in place. I happen to work at the WMF, but don't ask me for more details, I'm not that privy to them.
This thread might help.
http://www.gossamer-threads.com/lists/wiki/foundation/194087
Their argument is B.S., of course, but I'm peevish about throwing that word around carelessly.
The Contacts API (which FB probably uses today) has different terms, and appears to not conflict with this usage.
So we would need to piece together a timeline. Probably not worth the effort.
...I should get back to work.
Isn't it automated when the Gmail extension to Chrome tells me how many new messages I have, without me logging into gmail.com?
Isn't it automated when emails to my Gmail account are synced automatically to my (non-Google) smartphone?
5.3 You agree not to access (or attempt to access) any of the Services by any means other than through the interface that is provided by Google, unless you have been specifically allowed to do so in a separate agreement with Google. You specifically agree not to access (or attempt to access) any of the Services through any automated means (including use of scripts or web crawlers) and shall ensure that you comply with the instructions set out in any robots.txt file present on the Services.
Second, I imagine both of your examples use some for of API [2], which is clearly "the interface that is provided by Google". On the other hand, if your smartphone were to log into the GMail web-app pretending to be someone using a browser and scrape the HTML, it would, most likely, constitute a violation.