Home Facebook Id temporarily locked while fetching data from different location
Reply: 0

Facebook Id temporarily locked while fetching data from different location

Chitra Shakya
1#
Chitra Shakya Published in 2018-02-14 06:34:50Z

I am trying to fetch comments from Facebook and trying reply that from the application using the access token again a facebook id. When I am using that from one location continuously it works well even on dynamic IP of my system for days .. but when I tries to use the same at my home.. it is working for 2 times hardly and then blocks the ID... please help me resolve this.

Code here :

string AccessToken = "Acess token here"; GET_POST_LINK posts; string url = "https://graph.facebook.com/v2.11/mefields=posts%7Bmessage%2Cpermalink_url%7D&access_token=" + AccessToken + ""; HttpWebRequest feedRequest = (HttpWebRequest)WebRequest.Create(url); feedRequest.Method = "GET"; feedRequest.Accept = "application/json"; feedRequest.ContentType = "application/json; charset=utf-8"; WebResponse feedResponse = (HttpWebResponse)feedRequest.GetResponse(); using (feedResponse) { using (var reader = new StreamReader(feedResponse.GetResponseStream())) { posts = JsonConvert.DeserializeObject(reader.ReadToEnd()); int count = posts.posts.data.Count; } }

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.296131 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO