friends.get() problem

Nov 7, 2008 at 9:36 AM
Hi i want take a friends but i cant do this i useing this code

System.Collections.ObjectModel.Collection<facebook.Schema.user> friends =  _fbService.friends.get();

but i take error like this its not english but i think you can understand.it say cant convertable

Error 1 'System.Collections.Generic.IList<long>' türü örtülü olarak 'System.Collections.ObjectModel.Collection<facebook.Schema.user>' türüne dönüştürülemez. Açık dönüştürme var (eksik atama mı var?) C:\Users\Omer\Desktop\Fbapp\Default.aspx.cs 77 90 C:\...\Fbapp\

Developer
Nov 7, 2008 at 2:43 PM
Check the types of the method you're calling: friends.get() returns a list of user ids, not user objects. I think what you're looking for is _fbService.friends.getUserObjects().

Sorry if my post on your other thread was a little confusing. I only skimmed through it, and thought your question was the same as some other questions I had just seen recently.