.net - When using Graph API for mass notification, how do I make it efficient? -


i'm using facebook c# sdk , looking answer in context of library, general info might helpful.

question

when accessing multiple facebook users (e.g. send message authed users of application) best use graph api or more efficient method?

efficiency

i can use graph api's https://graph.facebook.com/userid call (requires 1 call each user info wanted), feels inefficient make graph api call each user.

the old rest api had call users.getinfo multiple user's info retrieved @ once, rest api being deprecated , facebook recommends not using longer.

my other thought fql might viable users @ once; if can instead call graph api once per user without repercussion (e.g. # request governance, rate limiting, etc) prefer stick that.

any other options?

rate limits?

i've seen discussion on graph api rate limits here , here don't know if concern.

if want grab information multiple users can use https://graph.facebook.com/?ids=4,152078551499478&fields=name (ids=uid1,uid2,etc&fields=field1,field2,etc) or similar. if becomes big enough send post , add method=get argument fb treat purposes of graph api.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -