Question: I am trying to share my app (link having data and metatags) with the following code

```
String s = "http://www.myapp.com"
Intent sharingIntent = new Intent(Intent.ACTION_SEND);
sharingIntent.setType("text/plain");
String linkt = "<a href=" + s + ">"+ s + "</a>" ;
sharingIntent.putExtra(android.content.Intent.EXTRA_TEXT, Html.fromHtml(linkt));
startActivity(Intent.createChooser(sharingIntent,"Share using "));

```

(1)
When I click on facebook in the share options, it crashes with the following error.

"The application facebook (process com.facebook.katana) has stopped unexpectedly. Please try again." What is the reason for this crash ?

(2) when I click google+ , only the link is shown and not with all meta tag data from the link where it will extract image and description etc. 
Ofcourse, if I go to google+ from the PC browser and post the same link , I get all the meta data extracted and shown. Is there a known problem with the Android share utility or am I not getting something right ?

(3) if I use sharingIntent.setType("text/html"), then only Gmail, Bluetooh, Docs show up in the sharing list omitting others(facebook, google+ etc). Why is this so ?

Thanks for the help.

Answer: 
You opened a file in Mac format, with Carriage Returns ('\r') newlines.

The SQL parser behaves inconsistently on CR newlines.
It supports them for some queries, like "select 1 go", but fails on others, like "drop function f go".

Convert all your sql files to windows encoding.
You should remove all the "GO" from the script and it will resolve the issue.

Check this out for more info:

<https://agilewebhosting.com/knowledgebase/63/SQL-Error-Incorrect-syntax-near-andsharp039GOandsharp039.html>

Matrix