Click here to Skip to main content
15,884,298 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I use Facebook Api. Connect to api with Facebook c# SDK.
How add age_range to this query
search?limit=5000&offset=0&type=user&q=Peter

C#
var apptoken = result.access_token;
dynamic parameters = new ExpandoObject();
parameters.q = "uk";
parameters.limit="5000";
parameters.offset = "0";
parameters.type = "adgeolocation";
parameters.type = "user";
parameters.q = "Peter";

var searchedPlaces = fbClient.Get("/search", parameters);
var vihod = (from i in (IEnumerable<dynamic>)searchedPlaces.data
             select new
             {
                 i.name,
                 i.id
             }).ToList();



Posted
Updated 28-Sep-14 20:35pm
v3
Comments
BillWoodruff 28-Sep-14 2:56am    
Show us your code, describe clearly why you have implemented it the way you did. Describe very specifically how what you are doing now is not working.

There's not information here to begin to assist you.
[no name] 29-Sep-14 2:35am    
http://dl2.joxi.net/drive/0004/2720/281248/140929/e54671f680.png
[no name] 28-Sep-14 8:20am    
edited

1 solution

Which Graphi Api are you using?
 
Share this answer
 
Comments
Nelek 1-Oct-14 7:09am    
Please don't post solutions to chat with people asking or answering. The messages are not always sorted by date, so it can be a bit difficult to follow them correctly.
The best option is to use the "Have a question or comment?" (or the tiny "reply" on another comment). Another advantage is, that the person you write to will get a notification, otherwise it could be that he/she doesn't see your additional message.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900