Versi Graph API

Product Feed Schedule

Membaca

The configuration for fetching a feed in a recurrant manner. If it's an update_schedule, the scheduled uploads would update existing items with the information delta provided or create new ones if not present. If its a replace schedule, this will be a full replace operation where items not present in the feed file will be removed, new items will be created and existing items will be updated.

Examples

curl -G \
-d "fields=schedule" \
https://graph.facebook.com/<API_VERSION>/<PRODUCT_FEED_ID>

Parameter

Titik akhir ini tidak memiliki parameter.

Kolom

KolomKeterangan
id
numeric string

id

day_of_month
unsigned int32

The day of month to fetch feed, for monthly schedules e.g., 1 for first of month

day_of_week
enum

The day of week to fetch feed, for weekly schedules. Allowed values: SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY

hour
unsigned int32

Hour of the day to fetch the product feed, 0-23 Pacific Time(PT) which is PDT during summer and PST during winter. If the interval is hourly and interval count more than 0, the next upload will occur the interval_count time after the upload.

interval
enum {HOURLY, DAILY, WEEKLY, MONTHLY}

The interval at which the product feed gets fetched

interval_count
unsigned int32

Specifies number of intervals between each upload, default is 1. For example, when interval_count is 2 with interval set to daily, feed will we uploaded every two days at the given time.

minute
unsigned int32

Minute of the hour to fetch the product feed, 0-59

timezone
string

The string representation of the timezone in which the schedule params are specified

url
string

The location of the product feed to fetch

username
string

The username that is needed to access the url

Error Codes

KesalahanDescription
100Invalid parameter

Membuat

Anda tidak dapat melakukan operasi ini pada titik akhir ini.

Memperbarui

Anda tidak dapat melakukan operasi ini pada titik akhir ini.

Menghapus

Anda tidak dapat melakukan operasi ini pada titik akhir ini.