.net için Facebook geliştirme araç - setinfo

oy
2

Ben Facebook geliştirme araç seti ile oynuyorum ve ben işe profile.setinfo olsun olamaz. dokümantasyon kullanışlı değildir. 28656 - Ben en son kaynak kullanıyorum.

Birisi benim için bir VB.Net örnek lütfen gönderebilir miyim?

Güncelleme: işte burada ben, belirli bir soruna yönelik istendi:

Setinfo bir List (facebook.Schema.info_field Of) alır

ve info_field bir listesi (facebook.Schema.info_item Of) almak gerekiyordu

ama bunun yerine bir itemsLocalType istiyor gibi görünüyor. Yani hatadır

'System.Collections.Generic.List`1 [facebook.Schema.info_item] 'itemsLocalType' yazın nesne türü döküm edilemiyor.

Oluştur 14/02/2009 saat 03:06
kaynak kullanıcı
Diğer dillerde...                            


1 cevaplar

oy
6

Sonunda kendi başıma çalıştım:

Dim items = New facebook.Schema.info_field.itemsLocalType     
items.info_item.add(New Schema.info_item With {.label = "Happy", .image = "http://imageurl1/", .sublabel = "", .description = "The original and still undefeated.", .link = "http://www.scottstonehouse.ca/blog"})

items.info_item.Add(New Schema.info_item With {.label = "Indifferent", .image = "http://imageurl2/", .sublabel = "", .description = "meh....", .link = "http://www.scottstonehouse.ca/blog"})

items.info_item.Add(New Schema.info_item With {.label = "Sad", .image = "http://imageurl3/", .sublabel = "", .description = "Oh my god! you killed my dog!", .link = "http://www.scottstonehouse.ca/blog"})

items.info_item.Add(New Schema.info_item With {.label = "Cool", .image = "http://imageurl4/", .sublabel = "", .description = "Yeah. whatever", .link = "http://www.scottstonehouse.ca/blog"})

Dim ifields = New List(Of facebook.Schema.info_field)()

ifields.Add(New facebook.Schema.info_field With {.field = "test field name", .items = items})

_fbService.API.profile.setInfo("Info Title", 5, ifields, _fbService.API.uid)
Cevap 14/02/2009 saat 05:29
kaynak kullanıcı

Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more