Is there any way to get engaged users by country - facebook-graph-api

Hello I'm using the insights api. But whenever I want engaged users via /insights/page_engaged_users, that only gives me the my country's results. Since I'm managing a global page, is there any way to get others by country?

No. There is no way in API. Any how you can get following results based on country.
Impressions
Story Adds
Places Checkin
Story Tellers
Fans

Related

How to build events aggregation service for high load system with DynamoDB

I'm working on an Ad-tech system which serves millions of users.
Basically users (non anonymous users) can see different Ads that are being created by the marketing team.
Our marketing team want to be able to set some Frequency caps on those Ads (among other targeting rules they already have)
For example:
"We should not show this ad for a user if he already seen/click this ad more than X times in the last Y days"
Also ads can be grouped to campaigns, so rules like that are also possibile:
"We should not show this for a user if he viewed more than X times ads in this campaign in the last Y days".
Also our marketing might wanna know how many people viewed/click a specific add in the last Y days.
We have roughly 200K RPM and our responses should be very fast.
The smallest unit of time for our queries is one day and it will not change.
Few questions and thoughts:
Is DynamoDB a good fit?
I thought about creating a table for each event type (Click/View/Close..)
What is the best way to configure the primary key?
I thought about settings the primary key as the user id and the sort key as a combination of the ad id and the current day {dd/mm/yyyy}
I thought about use "ADD" operation to increase the counter when a user click/view/.. an Ad in a specific date. are they expensive operations? do I have an alternative?
What is the best way I can use to also be able to query per ad and campaigns as well (for example: "all users views for all ads in campaign" or "get all ad views in the last 40 days) ) ?
What other considerations should I take in mind?
Thanks a lot

How do I find the number of buys and sells within the last 24 hours for a specific ERC-20 token?

I found this API that can give the the list of 'normal' transactions for a smart contract given the address for example Shiba Inu token:
https://api.etherscan.io/api?module=account&action=txlist&address=0x95ad61b0a150d79219dcf64e1e6cc01f0b64c4ce&startblock=0&endblock=99999999&sort=asc&apikey=YOURAPIKEY
Is there a way to get the # of buys and sells within a specific time frame? I need this for an app I'm building similar to how PooCoin or other sites can build a chart and have a panel that has buy and sell orders for that specific token.
Is there a way to get this data from an API call?

How cashback websites track transaction summary on retailers shops?

I'm planning to build a cashback site, but I'm confused on how the system work.
After googling i found this answer on Quora:
There is a tracking mechanism into the process. When you sign up to cash back site like fatwallet, the site create for you an ID, this ID is passed through your cookies, when you click on the link of the cash back site to the retailer. When a sale take place, the tracking mechanism send the transaction summary to the rebate website with your id so the store can link it back to you.
Is it possible to track such information? If possible, how can I achieve this?

Guide to using google URL to get options chain data?

I'd like to enter a URL into google and get all options chain data for a particular stock. Is there a guide that shows you how to use it, like if I wanted to grab all options that expire in the next year without knowing the individual expiration dates, or if I just wanted a particular strike price? I found another question that gives me the basic outline, but doesn't specify the details:
Finance historical options data (with strikes etc) on google finance API
Here is an example on how to do this using the ImportHTML function, although there is a delay in the data of course.
=importhtml("http://finance.yahoo.com/q/op?s=QQQ&m=2013-12","table",0)

Retrieving "businesses" with Google Maps API?

This is an example of a Business on Google Maps
It has elements attached such as:
Reviews from various sites (qype, viewlondon, etc...)
Details provided by various sites
Photos and other content
I don't know how to go on about retrieving such Business and associate any items generated on my website.
What I have implemented up to date is a system using geocoding (geopy) which once given an address, it gives back Latitude and Longitude, but such system does not help me with this dilemma.
What you want is this API:
http://code.google.com/apis/ajaxsearch/local.html
Also check this:
http://googleajaxsearchapi.blogspot.com/2007/06/local-search-control-for-maps-api.html
By writing a relay server script you could do things like this, which obtains most of that information with a different layout. I don't know if it's legal to do that.