Can I get or set user thumbnail photo using Azure AD REST API? - rest

I'd like to manage active directory user's thumbnail photos using Azure REST API. It can be Azure Active Directory REST API, Exchange Online REST API, Unified Graph API. Any of those.
Unfortunately the object that is returned from graph API does not contain photo data. And $link references did not work for me either.
Any ideas?
Regards,
Dmitry

Yes, you can. Try this:
HTTP GET https://graph.windows.net/<directory_name_or_id>/users/<users_upn_or_objectid>/thumbnailPhoto"

Related

How to fetch marketplace insights using api for facebook?

I want to get insights from the Facebook marketplace via their API. I can see that there is a way to do it manually where a user can view the insights of individual listings or of all of listings at once.
Refer docs: https://www.facebook.com/help/265775098821464/?helpref=uf_share
To solve this, I referred to the insights api but these are used to access the marketing data.
Docs : https://developers.facebook.com/docs/marketing-api/insights/
Is there a way to do this via their api?

Get Facebook creative id through graph api

I’m looking for a solution to get the ad post id, in the page post, when I create an ad creative from the graph api.
I simply cannot get it through the graph api, because it’s linked to the business manager.
Any ideas, how I can get the id from the graph api - or how I can create a page post with the specifications from the ad creative.
I’ve tried almost everything, and I’m just stuck.
I can create the page post manually by copying the id and paste it into the api. But I can’t fetch it from their graph api.. or am I just missing something?

Can I access Facebook Ad Billing data through an API?

/business.facebook.com/ads/manager/billing/transactions/
Thats the url id like to pull data from. I looked at all the API's, but none of them seem to offer up this data.
Try this: https://graph.facebook.com/v2.9/{business_id}/business_invoices
YES YOU CAN USIG FACEBOOK MARKETING API Marketing APIs are a collection of Graph API endpoints that can be used to help you advertise on Facebook. To get started with advertising on Facebook, we recommend you learn about Facebook's Ad Campaign Structure, to understand the objects you're working with and how they relate to each other.
CHECK THIS OUT
https://developers.facebook.com/docs/marketing-apis/

Creating Facebook Ads programmatically with Ads API or Atlas API

Which API we can use for Facebook Ad creation programmatically in C#?Atlas API or ADs API. I have gone through both API documents and I find that both object names are different and Ads API is very similar to Facebook Ad fields. But I couldn't find any code samples for Ads API where as we have the code samples for Atlas API but object names are different compared to Facebook Ad. Please suggest me which API is better to use and what the process to access both Ads API.
To create ads on Facebook, you'll want to use the Facebook Ads API. This API is JSON based and pretty much any Graph API client library should be able to connect to it. One caveat is you'll need to request access to the Ads API, which might take a bit of time to get reviewed and enabled. The documentation for this API is here:
https://developers.facebook.com/docs/ads-api/
The Atlas API is primarily used to serve display ads and measure their performance. It doesn't sound like that's your primary use case here.
There are no C# Ads SDK that I am aware, but you can start with a C# Facebook SDK that will help you with lower level objects such as requests, accesstokens, batch requests etc.
http://facebooksdk.net/
And to build your Business Logic Layer, here is the spec:
https://developers.facebook.com/docs/ads-api/

how to create facebook milestone with picture using API?

Is there any way to send facebook milestone with picture using API ? I have checked the following documentation and found nothing.
https://developers.facebook.com/docs/reference/api/page/#milestones
No, the API suuports only the parameters listed on that document, you can't upload milestones with images attached via the API