Android Question Facebook Share question

anaylor01

Well-Known Member
Licensed User
Longtime User
If you take a look at the screenshot it only shows one line of the caption and the description. See code below.
B4X:
Dim redirect_uri As String = "https://www.facebook.com"
Dim name, caption, description, picture, link, all As String

link = "https://play.google.com/store/apps/details?id=appinventor.ai_anaylor01.VoiceNotes" ' this is the picture from the android store
name = "Expeditious"
caption ="This is a game for at least 2 teams and for up to 10 teams. Kepp this on and going for ever"& _
"You can play for Points or Drinks. One person trys to get their teammate or teammates to guess " & _
"the answer. The person giving the clues Is the person that gets the points. There are 9 categories" & _
"the person that gets the points. There are 9 categories to pick from. You can play for point" & _
"or drinks. You also get bonus points for getting a certain number of them right per round." ' this shows up when you facebook share. It's under say something about this.
description = "This is a game for at least 2 teams and for up to 10 teams."& _
"You can play for Points or Drinks. One person trys to get their teammate or teammates to guess " & _
"the answer. The person giving the clues Is the person that gets the points. There are 9 categories" & _
"the person that gets the points. There are 9 categories to pick from. You can play for point" & _
"or drinks. You also get bonus points for getting a certain number of them right per round."
all = "https://www.facebook.com/dialog/feed?app_id=" & app_id _
    & "&link=" & link _
    & "&name=" & name _
    & "&caption=" & caption _
    & "&description=" & description _       
    & "&redirect_uri=" & redirect_uri

Dim i As Intent
    i.Initialize(i.ACTION_VIEW, all)
    i.SetType("text/plain")
    i.PutExtra("android.intent.extra.TEXT", all)
    StartActivity(i)
 

Attachments

  • Facebook Share error.png
    Facebook Share error.png
    27.7 KB · Views: 325
Top