Hi Guys,
I'm trying to share text on Facebook from the app. I was trying to use the code below but not working
I was trying to follow this but failed. Can you please suggest?
I'm trying to share text on Facebook from the app. I was trying to use the code below but not working
B4X:
Dim inten As Intent
inten.Initialize(inten.ACTION_SEND,"")
inten.PutExtra("android.intent.extra.TEXT", txtAsk.Text)
inten.SetComponent("com.facebook.katana/com.facebook.katana.stream.publish")
Try
StartActivity(inten)
Catch
Msgbox("It seems you don't have Facebook installed", "Error")
End Try
I was trying to follow this but failed. Can you please suggest?