Is it possible to grab info about ads shown to user? - facebook

Is it possible to grab ads which are shown to user? Not the ones he created. Using Ads API?
For example if I know the Creative ID (e.g. 6003457682739) can I get info about it?
I've tried to use this code:
https://graph.facebook.com/6003457682739?access_token=
From help: https://developers.facebook.com/docs/reference/ads-api/adcreative/ Part "Retrieving data for specific creatives"
But no luck, I guess because Facebook allows to grab ads managed by you only?

"But no luck, I guess because Facebook allows to grab ads managed by you only?"
This guess is incorrect. You can get data managed by others. You will need to get the access_token from the manager of the ad to get their data.

Related

how to get friends birthday in v2.0 facebook API - any alternate way

I need help.
We all know that in v2.0 all permissions of friends_* are removed.
But still is there any way to get birth date of friends who also use your app?
I am using below permissions:
&scope=public_profile,email,user_friends
Any help would be appreciated.
With Graph API v2.0, all friends_* permissions have been removed (as you wrote): https://developers.facebook.com/docs/apps/changelog#v2_0_permissions
So, there's no way to get the birthday of the User's friends via the Graph API anymore.
i dont know if this could help you but i think it could be worth a try. there is the possibility to subscribe to facebooks friend calender api via a link: e.g "webcal://www.facebook.com/ical/b.php?uid=10001111111&key=AQDcQxnFPn7Sb9WridI" - you can add this to google calender, ical or other. via this subscription you can receive all the info you need. as we have the same issue with our application we will try to figure out a way how to retrieve and use this information. anyways i dont know if it is an option for your app.

Can I get count of all Users on Facebook who have taken a Custom Action?

There are now Custom Actions in Facebook iFrame/Canvas. So one can create a basic verb/object pairing for their application. For example, I could create a "cook recipe" pair and have this show up in a variety of places in the user's profile.
I can access these custom actions using /me/activities in the Open Graph API. I would like to know if there is anyway that I can get a count of all users who have taken the action I created.
Apologies in advance, I am new to Faceboook development, so I am not 100% clear on some of the finer points.
Thats not possible via the API. But keep an eye on the Insights API (/app/insights) as this should eventually be updated to include monthly per-action stats. These stats are already available in the insights dashboard for your app.
However, as you're posting the actions to Facebook yourself, you should be able to keep a count locally in your app.

Facebook application data storage

I created a Facebook app(game) in JavaScript. I used Facebook's php-sdk. I dint make a good use of the sdk except to display the name of the user logged, and his details.
I want to store the score of each user at some place. Checked FQL. As far as I saw, it doesnt allow you to store data, there was only SELECT query available. So is there any way in which we can append the score to user information or something similar.
In short can we store the data on Facebook
OR
We should use our own database server only to store the data.
In general you need to store your own data. While it might be possible to fake it by using some attribute of a user, it's certainly not the way it's designed to work and you can't count on the data always being available. You are better off setting up your own database and use the users' FB IDs to tie the info together.
Facebook now supports posting scores via scores api found here.
You can also publish achievements relevant to the game as in here
These have enough guidance to help you out !

Is it possible to download all photos that are tagged with a specific user?

I got married over the weekend and since I wasn't able to snap pics of myself, many of our friends did. There are just too many photos to save so I figure let's use some PHP magic to download the photos that are tagged with my name. Is this possible?
Let me clarify, I'm not interested in making an app of any sort. Preferably, if I could use curl to grab all photos, that would suffice. Everything I've read thus far says I need to sign up as a developer.
You can get the photos with graph api. Source: Graph API User. The photos option provides all the photo owned by you or in which you are tagged in.
You still need to register an app with facebook for this. Registering an app is inevitable. It is up to you if you want to make it public. You need api_key and api_secret to access privilege on user's "private" information.
You can get it done by an account who is registered developer or register yourself as an developer.
To register yourself as a developer you need to share either your contact no. or credit card no. I have been registered with facebook as a developer but i have never had problems with the privacy.

Get application liker via graph api

How can i get all the facebook user id whose like my application via a graph api.
Please give any suggestion.
Like facebook fan page showing application liker randomly. I also want to access my application liker list and want to save in database.
Please tell me if any possibility? Need your suggestion...
Thanks
Sorry, I don't think that's possible for privacy reasons Facebook doesn't allow it. You need to get people who like you application to install and authenticate it before you can find out more about them. However, I do remember someone managing to scrape the fans of a page before so maybe that's possible for applications as well...