Can you download your Facebook data through their API? - facebook

On Facebook there is a "Download your Info" option and you can choose range, format (HTML, JSON) and media quality. Can you do this with the API?
I'm thinking of an iOS app where you could connect with FB, download your data and then visualise it.
Would the above be possible? Or should I change the app so instead of logging in with FB you could just upload your data?

Related

How to download Facebook Ads Creative? (Python SDK)

I'm looking to download creatives/images of my ads into a company database, and stumbled upon this section on the Graph API. It lets us access the thumbnail link (enter image description here).
I'm wondering how I might get the images/thumbnails and store them in my directory in the .jpeg/.png format via Python?
Thanks again!

Latest Facebook Graph API changes and image uploads

I have an Adobe AIR kiosk based (multiple users)application that requires Facebook image upload functionality. This was achievable before by forcing a logout after each image upload.
But now Facebook's latest SDK uses a Safari view for login:
https://developers.facebook.com/blog/post/2015/10/29/Facebook-Login-iOS9/
so I don't think this is possible.
Can anyone confirm this? For kiosk based(multiple-user) applications that require Facebook image uploads, what are the options now?

Windows 10 UAP: Share data on Facebook

Is it possible to correctly share data on Facebook post using DataRequest and DataTransferManager classes?
I am trying to create a Facebook post using DataTransferManager.DataRequested and DataTransferManager.TargetApplicationChosen handlers.
I have Facebook web page and I am providing link to it by calling dataRequest.Data.SetWebLink(facebookWebpageUri) in my DataTransferManager.TargetApplicationChosen handlers when chosen app is "facebook".
The problem is that Facebook should scrap the webpage for the data it shows in the post as it does in my Android and iOS apps but in my Windows 10 UAP it does not do this. It only shows the title and the text set by dataRequest.Data.SetText if I provide it before invoking share using DataTransferManager.ShowShareUI()
There are two type of app for sharing Interaction: one is source app, the other one is target app.
As a share source(UWP) app, we handle the source data, for your scenario, the facebook is the share target.
What we can do is dealing with the data you want to share, which we have done already. As the target app, facebook need to be able to resolve this source data, this work can not be done by the source app.
What you can try to do is:
Contact with the facebook to submit a suggestion.
Use the web api of facebook.
Try to find and use some third-party libraries of WinRT.

Upload Videos on facebook as an app

I am developing a website for a one of my customers and this website is accessible in and outside of facebook. For some reasons i need to upload videos on facebook, But the problem is to upload videos not with the user permissions but i want to upload the video by the app.
So my question is to know if is possible to upload videos as the application and not as a user ?
Thanks
There is not concept of posting "as an application" and not as a user. You can either post the video to a User profile or to a Page. Seems like in you case, you can create a Page for your app and then upload the videos to the Page.

Facebook Feed Dialog - Can we use the application logo as the image?

I'm using the Facebook Feed Dialog to promote simple sharing on my website.
There is an option for the "picture" in the post (URL).
Is there a way i can use the existing logo in my Facebook application as the image?
For example is there a way i can programatically create a URL to my Facebook application logo? (using the application ID).
You can do this with https://graph.facebook.com/APP_ID
And then fetch the logo_url.
Edit: Just wanted to add that obviously apps in sandbox mode require access token to recognize you as admin/tester.
You can't use that logo in your feed dialog, since its saved in the facebook server. (facebook don't allow that)
The straight-forward solution is - use the image from your server.