Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>try first login...</p> <pre><code>try { servicio.ApplicationKey = "xxxxxxxxxxxxxxxxxxxxxxxxxx"; servicio.ConnectToFacebook(new List&lt;Enums.ExtendedPermissions&gt;() { Enums.ExtendedPermissions.read_stream, Enums.ExtendedPermissions.publish_stream }); label2.Text = "Conectado:"; label1.Text = servicio.Users.GetInfo().first_name + " " + servicio.Users.GetInfo().last_name; pictureBox1.Image = servicio.Users.GetInfo().picture_small; button2.Text = "Sesión Iniciada"; button2.Enabled = false; checkBox1.Enabled = true; numericUpDown1.Enabled = true; groupBox3.Enabled = true; groupBox4.Enabled = true; }catch (FacebookException fe) { listBox1.Items.Add(fe.Message); } </code></pre> <p>then you can publish.... like this..</p> <pre><code>try { var cancion = "lalalalala"; String cosa = servicio.Stream.Publish(cancion, null, new List&lt;action_link&gt;() { new action_link() { text="Visita SQLeros", href="http://sqleros.com.ar/wps" } }, null, 0); servicio.Stream.AddLike(cosa); //to add like (Y) listBox1.Items.Add(cosa); } catch (FacebookException fe) { listBox1.Items.Add(fe.Message); } </code></pre> <p>or this.. ñ_ñ</p> <pre><code>try { String namePub = servicio.Users.GetInfo().first_name + "ha actualizado su estado"; String cosa = servicio.Stream.Publish(richTextBox1.Text, new attachment() { name = namePub, href = "http://www.facebook.com/apps/application.php?id=136818146334647", caption = "Tú tambien puedes usar Escuchando ahora, es facil y rapido", properties = null, media = new List&lt;attachment_media&gt;() { new attachment_media_image() { src="http://www.rammsdio.com.ar/images/img14781001.gif", href = "http://www.facebook.com/apps/application.php?id=136818146334647" } } }, new List&lt;action_link&gt;() { new action_link() { text="Visita SQLeros", href="http://www.sqleros.com.ar/wps" } },null,0); listBox1.Items.Add("Has actualizado tu estado..."); richTextBox1.Clear(); if (checkBox2.Checked) servicio.Stream.AddLike(cosa); } catch (FacebookException fb) { listBox1.Items.Add(fb.Message); } </code></pre> <p>Grettings i hope this its useful for you..ñ_ñ</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload