Application Request Limit Reach - How much data is too much? - facebook-graph-api

We're getting a lot of "Application request limit reached" exception in our app. Looking at the insights page, it looks like "posts" from the graph API for "Calls access too much data" is the problem (108% right now). I would like to know what "Too much data" mean exactly ? Is it the number of bytes in a single call or the total number of bytes for a set of calls in a given period of time ? Or totally something else ?
Currently, I'm requesting posts one at a time so I can't see the first option being the problem. I don't understand why Facebook don't give any more info about this so if someone know the answer, I would really like to know.
Thank you!

Related

iCloud GameKit 40 request / second limit questions

I'll be straightforward:
What does it count as a "request" ? in some posts I've read a request is a "fetch", but on some others says 1 same operation of saving/updating might occur into several "requests".
What does it mean the system "throttles" your requests? I've heard if you reach the limit of 40 req / second, the system "throttles" your requests.... what does exactly mean this? and which criteria does it use? I'm guessing if you get a peak for whatever reason of lets say 80 req/second but after that you go back to your average 20/second the system won't charge you? if it's that, which criteria does it use?
If for any reason you need more requests per second... you simply have to pay the penalty? or is there any way around it?
Thanks a lot in advance.
Okay I think I found the key of the matter.
The scarce documentation says you have 40 requests/second per database. So if you are using private databases foreach user that means each user has 40 request/second .
This changes if you are using public database where all have access of course.
Someone please correct me if I'm wrong.
Thanks

WebServicex Currency Convertor API

WebServicex Currency Convertor API is returning always -1 as the conversion rate regardless of the currencies I specify..
Is there a way I can get it to work, to return an actual accurate conversion rate please?
I don't know why minus 1 is returned. I think there are only 2 parameters FromCurrency and ToCurrency. Here's an example URL I used:
HTTP POST REQUEST:
httppost://www.webservicex.net/currencyconvertor.asmx/ConversionRate?FromCurrency=GBP&ToCurrency=EUR
Here is what's returned:
-1
I also tried From USD to EUR but it still returned -1.
Do I need to register and enter a developer key as a parameter or something? I didn't find that information anywhere, it's just a guess.
If nobody can help me with Webservicex; their service is not working properly; maybe it's just not a good one, can anybody recommend a good currency conversion web service. I want to call the result from within my db solution to meet my clients request, and I only have a day before I need to show something working to them. I hope you can help, it would be much appreciated.
Thankyou
Kind Regards
sharpie
You may use the yahoo finance api.
http://download.finance.yahoo.com/d/quotes.csv?s=GBPEUR=X&f=l1
Although it will give the csv but if you will just use it in script then it will give you the direct transaction value.
I hope it will serve your purpose.

Retrieving data extension used to filter e-mail send

I'm new to ExactTarget, and I'm having some hard time to do something that should be simple.
We direct our e-mails using a list of All Subscribers, and filter then using data extensions. When I go on the tracking page of a particular e-mail, there it is in the Summary, all the info and the Data Extensions, on the format:
name (number) sent (Using All Subscribers) (number sent)
The thing is, when I do a tracking extract I don't get this information. I tried to extract everything that was possible, and couldn't get this information. All I get is, for each sendID (for each subscriber in fact), the ListID, which will always be the same (the one for All Subscribers). I want to know which segment we used.
Tried to deep dive on the SOAP API, with no luck, again all I can retrieve is the List, never the data extension.
This must be retrievable, once it is on the Tracking Summary. So my question is how do I retrieve is.
I considered programming a simple robot to scrape for this info, but there must be a better way.
Thanks
Guess nobody cares much, but in case someone faces the same problem, I've got a final answer for support, the information is not retrievable (except through the tracking summary, which must be accessed one by one) through API or UI
But a custom report can be asked for. Still waiting to see if it's free of charge (should be, right? As it's something that should be available in first place)

How to access facebook insight datas for consecutive months?

I'm new to Facebook app development I hope I can get an answer here.
Is that possible to retrieve Facebook insight data for consecutive months?
I tried end_time=2010-01-01 to since=2010-01-31 and period=month but I got
The specified date range cannot exceed 3024000 seconds!!
How will I get like 2010-02-01 to 2010-02-28 and 2010-03-01 to 2010-03-31?
I have tried and used lots of examples but I couldn't succeed: How can I solve this problem?
The thing that has worked for me is very similar to what you are doing, with the difference being that I use the UNIX timestamp for SINCE and UNTIL.
Example:
https://graph.facebook.com/212686148747689/insights/
page_impressions_by_city_unique/week/?
access_token=QWERTYUI&since=1315699200&until=1320796800
(That's all supposed to be on one line, but it's easier to read it this way, at least for me.)
With this approach, you want to be careful and make sure that the difference between SINCE and UNTIL is not bigger that 90 days. Otherwise, you'll get an error, like so:
(#604) The specified date range cannot exceed 7776000 seconds
Finally, if you don't have a way of generating the UNIX timestamp automatically, go to a web site like:
http://www.epochconverter.com/
If anyone else has some better insights, please share. I hope this helps.

Facebook graph search - only about 500 results returned regardless of limit passed

When doing Facebook graph search queries, you have the option of specifying the limit parameter. I am aware of the fact that the hard limit if 5000. However, when I do broad queries, I always retrieve about 500 results (between 480 and 540), even if the limit is well above that.
For example,
https://graph.facebook.com/search?q=doctor&locale=en_US&limit=1000&type=page&fields=id
Returned 527 results when I tried. Providing a valid access_token did not return more results.
Does anyone have any ideas as to why this is, and possibly how it can be overcome?
Facebook's API works on a "good enough" principle. It will keep fetching results until it considers that it's taking too long to respond and just reply with whatever it happens to have gotten. If you ask for limit=5000 you'll most likely always get less, but how much less depends on how complicated it is to retrieve those details.
The only way around it is using the 'paging' methods to the Graph API. However, I imagine each request will result in a new search and you may end up getting repetitive results.