Using Facebook API to access conversion statistics - facebook

I was able to pull campaign level facebook statistics using the following URL:
https://graph.facebook.com/v2.9/act_<AD_Account_ID>/insights?access_token=<Access_Token>&date_preset=last_7d&limit=1000&time_increment=1&effective_status=ACTIVE&level=campaign&&fields=clicks,reach,impressions,spend,campaign_name
However, I am having a difficulty adjusting the URL to pull conversion pixel stats such as Website Registration, Website Purchases, Website Leads etc..
Would appreciate some help.

Related

How to get all the campaigns related to a page by using Facebook Marketing Api?

I used promote_pages endpoint (https://developers.facebook.com/docs/marketing-api/reference/ad-account/promote_pages/) to get all the promoted pages for an ads account.
To get more details for each page, I tried to put more parameters like (ad_campaign, engagement and category etc) but all the expected returned fields for ad_campaign is missing.
Sample request:
https://graph.facebook.com/v5.0/act_{{ads-account-id}}/promote_pages?fields=name,ad_campaign,engagement,category
(Also provided pagesAccessToken as BearerToken and pageAccessToken has 'public_profile', 'email','manage_pages', 'pages_messaging','publish_pages','ads_read','ads_management' permissions and already have business integration done).
I received all the fields properly except campaign data as there are several campaigns running for each page already.
Please let me know how to achieve the campaign data returned for each page under an ads account. Thank you so much in advance.

Obtaining Facebook graph api data for user generated posts

I am having some trouble determining how to go about a certain issue. I am pretty new at trying to obtain social media data. Say an internet user publishes something that is essentially a post from from a website that is external to Facebook, to the user's Facebook feed. Is there a way to obtain the amount of likes, shares, comments, and other insight type data from those posts? I'm aware/currently learning about Facebook's open graph api, but I am unsure if it allows for this type of query. It seemed to be primarily for people, pages, and places, and I have not found a way to query only posts from a website specifically.
To be more detailed, a user will have the option of posting a jpeg type image to their Facebook feed. This is for a single website, where the website would like to do this in order to gauge how those posts are being perceived and interacted with by other Facebook users. Is there a way to obtain data on these specifically?
Also, if so, is there a way to tag or apply specific identifications to categories of these posts in some way before they are posted by the user to their feed, to allow for segmentation of the data? Any help is very much appreciated.

What API is using facebook to get the reach estimate for boosted posts?

We are building in my company a tool to manage Social Networks Accounts like facebook and twitter and we want to create tools for most of the important functions.
For facebook, I am in charge to create a tool to replicate the boost post feature on Facebook fan pages, but I can't find the that API they are using to get the reach estimated.
http://i.stack.imgur.com/D2M2x.png
I try tracking the call made by the dialog and I got some information:
http://i.stack.imgur.com/UH6kQ.png
The point is that the URL used is not public accessible.
I appreciate your help.

Flickr API: Uploading without authentication?

I'm working on an application that pulls images from Flickr, and it also offers the ability to upload to Flickr. The problem is that the Flickr API doesn't seem to accept photo uploads without authentication.
In other words, end-users using my application would have to pass through the Flickr website and log in with their Flickr account and grant permissions, and only after that, Flickr starts the upload process.
After doing some searching, I've seen things like having a permanent token for the authentication and upload as since user all the time...
If anyone can offer any solutions or workarounds, please help.
Thanks
I recently wrote a blog post regarding triple tags and pulling flickr photos into a single wordpress post: http://zedzdead.net/blog/2013/04/10/flickr-machine-tags/
The wordpress stuff is irrelevant, but tagging photos with triple or "machine" tags is ideal for associating photos across multiple accounts and extracting them using the api.
You might need to inform your app users about the tag they need to use e.g. myapp:article=123, but you can then use the search method in the flickr api and use the machine_tags argument to pull all photos on flickr with this tag.
This isn't my idea, Jeremy Kieth did it first: http://adactio.com/journal/1274/
The beauty of this approach is that no flickr authentication is required.

Upload photo from my system to company Facebook page without having users authenticate individually

I have an application where my staff upload photos for specific tours. My priority is to have the photos uploaded to my system to use in my site and product display. However, every time any of my staff upload a photo in my system, I want to send the photo to our corporate facebook presence. Preferably with a little story about each photo.
Everything I have found seems to require each user to log in with their own facebook accounts individually. Is there a way to code authentication with my facebook account details regardless of who the user is and then take the photo uploaded on my system using cffile and send it to our corporate facebook presence?
I would post code attempts here, but at this point I am still not sure if this is possible. Any guidance would be appreciated.
Thanks.....
posting photo with some text is possible on Facebook using your system. all you need to do is to visit developer.facebook.com and register an app and get the required authentication key. and follow documentation of graph API. ColdFusion Facebook SDK is also available on Git Hub. that makes you job more easy.