I need to deep copy campaign from one Account to another ads account.
ais their any way to Deep copy the campaign? or Their is any way to Export/Import the data?
This is the url to copy Campaigns but it only copy Campaigns of only one account.
https://graph.facebook.com/v3.1/Campaign_id/copies
Related
I got a AWS amplify app with datastore categorie. Also user can login and add notes (AWS Cognito for authentication and GraphQL as API in order to insert data to the table). I coded the login function and further Backend services on ios plattform while using swift.
Those notes are created by different user. Now I want to provide those data for a user which only has read access and din't has to be logged in.
Question is, how to access to this data via a REST interface. Unfortunately I can't find any API address listed in the Table details. Does anyone has experience with this stack and can advice here ?
My goal is to provide all data to a usual visitor of the app. So he should be able to see all data, published by all users.
Appreciate your help.
I want to perform write operation on users instagram profile. Is it somehow possible? Using Instagram/facebook APIs or access token or so?
The post API endpoint is private. They only allow a few select third parties post directly to Instagram, if at all these days.
The only thing you can do is open Instagram with the media already selected.
Take a look here
I am developing a LMS in Laravel and uploading all the video files to aws s3 bucket and can play them using video js player. But problem is, users can download the video files, which I want to stop. Can anybody suggest me is it possible or not? If possible, can anyone tell me how can I do that?
Objects in Amazon S3 are private by default.
However, if you wish students to make use of a file (eg a learning course video), you will need to grant access to the file. The best way to do this is by using Amazon S3 pre-signed URLs, which provide time-limited access to a private object.
For example, the flow would be:
A students logs into the LMS
A student requests access to a course
The LMS checks whether they are entitled to view the course (using your own business logic)
If they are permitted to use the course, the LMS generates a pre-signed URL using a few lines of code, and returns the link in a web page (eg via an <a> tag).
The student can access the content
Once the expiry duration has passed, the pre-signed URL no longer works
However, during the period where the student has access to the file, they can download it. This is because access has been granted to the object. This is necessary because the web browser needs access to the object.
The only way to avoid this would be to provide courseware on a 'streaming' basis, where there is a continuous connection between the frontend and backend. This is not likely to be how your LMS is designed.
I checked through the api's but I may have missed it, if it exists... I can't find a write/modify api call to change move a photo from one user album to another (such as can be done via FB's web interface by editing the album and use the pull down for each image to move them one by one.
Essentially I just want to modify for an image the enclosing album id. I don't want to download from one album and upload to another as I want all the tags and comments to remain intact (as well as the photo's id)....
My goal is to create a simple app to be able to move all (or a selection) of photos from one album to another, ie. "merge albums" since FB's web interface does not have that functionality. I have a ton of albums I created in 2009 when the limit was 60 photos per album so now that the limit is 200 I want to reduce my album count by over 67%...
There is no API to remove photos, so effectively all you can do via the API is copy, you'd then have to remove the extraneous albums manually using Facebook's web interface
Should I hot link to Facebook images when using their API or copy them to my server?
What does Facebook want me to do?
Policy 2.2 states:
"You may cache data you receive through use of the Facebook API in
order to improve your application’s user experience, but you should
try to keep the data up to date. This permission does not give you any
rights to such data."
You are free to cache the data on your side if you would like, but there was a post in their forum about this which stated hot-linking would be better. If its just profile pictures, and not album photos, just use the graph address photo.
Sure you can link to facebook images:
http://graph.facebook.com/4/picture
Keeping images on your server has considerable overhead and also it is very difficult to up to time.
The only drawback of linking to facebook images is slightly delay while user load your page