Is a social media bot/user script illegal?
<p>Say there is a desktop application software with the purpose of automating certain tasks on social media sites and the developer plans to operate in the US.</p>

<p>The desktop application essentially opens websites in a webview (just like a browser would) and runs various JS commands such as navigating, clicking and typing.</p>

<p>The program never collects personal information or login details from users, it simply asks the user to login normally and then it begins interacting with the website through the same window that the user is already using naturally.</p>

<p>The program never accesses any restricted files, only what is public on the web, and then interacts with it. The program never modifies any files on external servers.</p>

<p>Example:</p>

<blockquote>
  <ul>
  <li>it CAN naturally navigate Facebook and click the like button</li>
  <li>it WONT send packets or code to change likes on Facebook servers</li>
  <li>it DOES use automation to help real users interact with other people's content</li>
  <li>it DOES NOT assist users in creating fake accounts or providing false information to social media sites</li>
  </ul>
</blockquote>

<p>Thank you in advance, if there is any more information that would be helpful, let me know.</p>

<p>Facebook's <a href="https://www.facebook.com/legal/terms" rel="nofollow noreferrer">Terms of Service</a> states that <strong>(my emphasis)</strong></p>

<blockquote>
  <p>3 Safety</p>
  
  <ol start="2">
  <li>You will not collect users' content or information, or otherwise <strong>access Facebook, using automated means</strong> (such as harvesting bots,
  robots, spiders, or scrapers) without our prior permission.</li>
  </ol>
</blockquote>

<p>You say that your App</p>

<blockquote>
  <p>DOES use automation to help real users interact with other people's content</p>
</blockquote>

<p>So your App accesses Facebook using automation; and as a result can be reasonably defined as a "robot" that automates processes for a user by a user. (As opposed to "harvesting bots, spiders, or scrapers" that mostly, by definition, access public information primarily in order to download it.)</p>

<blockquote>
  <p>The program never accesses any restricted files... The program never
  modifies any files on external servers.</p>
</blockquote>

<p>If it did, you would be immediately identified as a hacker, which would be illegal by Facebook's TOS and other laws.</p>

<blockquote>
  <p>(accesses)...only what is public on the web, and then interacts with it.</p>
</blockquote>

<p>Again, your App accesses Facebook users' public content using automation.</p>

<blockquote>
  <p>...it begins interacting with the website through the same window that
  the user is already using naturally.</p>
</blockquote>

<p>Still using automation; the fact that a "real" user opens a window and then launches the App actually works against your argument that the user is not using an App that uses automation.</p>

<blockquote>
  <p>...and runs various JS commands such as navigating, clicking and
  typing.</p>
</blockquote>

<p>Automation by robot.</p>

<p>The ToS of most social media sites specifically disallow this sort of interaction. This makes <em>using</em> the program a breach of contract and therefore illegal.</p>

<p>However, most social media platforms provide APIs wither their own terms of service specifically for machine to machine interaction.</p>

united-states software social-media robot