Liking cljdoc? Tell your friends :D

hub.photo.facebook


album-urlclj

(album-url album-id)

Inputs: [album-id :- s/Str] Returns: s/Str

Returns the URL for the supplied album ID.

Inputs: [album-id :- s/Str]
Returns: s/Str

Returns the URL for the supplied album ID.
raw docstring

create-album!clj

(create-album! m)

Inputs: [m :- {:name s/Str, :location s/Str, :page-id s/Str, :access-token s/Str}] Returns: {:id s/Str}

Creates a new facebook album and returns the ID of that album. In dev mode, just returns a fake UUID.

Reference: https://developers.facebook.com/docs/graph-api/reference/page/albums

Inputs: [m :- {:name s/Str, :location s/Str, :page-id s/Str, :access-token s/Str}]
Returns: {:id s/Str}

Creates a new facebook album and returns the ID of that album. In
dev mode, just returns a fake UUID.

Reference: https://developers.facebook.com/docs/graph-api/reference/page/albums
raw docstring

get-photoclj

(get-photo photo-id)

Inputs: [photo-id :- ps/FacebookID]

retrieve photo info from Facebook. See https://developers.facebook.com/docs/graph-api/reference/photo/ for return schema.

Inputs: [photo-id :- ps/FacebookID]

retrieve photo info from Facebook. See
https://developers.facebook.com/docs/graph-api/reference/photo/ for
return schema.
raw docstring

(link-photos! album-id
              cdn-prefix
              photo-id->caption
              inputs
              fb-page-id
              access-token)

Inputs: [album-id :- ps/AlbumID cdn-prefix :- s/Str photo-id->caption :- {ps/ID s/Str} inputs :- [ps/Photo] fb-page-id :- s/Str access-token :- s/Str] Returns: [LinkedPhoto]

Uploads the supplied photos to Facebook and adds the facebook id and album id into the photo input. These photos can then be added to the database.

Inputs: [album-id :- ps/AlbumID cdn-prefix :- s/Str photo-id->caption :- {ps/ID s/Str} inputs :- [ps/Photo] fb-page-id :- s/Str access-token :- s/Str]
Returns: [LinkedPhoto]

Uploads the supplied photos to Facebook and adds the facebook id
and album id into the photo input. These photos can then be added to
the database.
raw docstring

LinkedPhotoclj

A Photo that has been uploaded to FB.

A Photo that has been uploaded to FB.
raw docstring

make-requiredclj

(make-required schema k)

Inputs: [schema :- {s/Any s/Any} k :- (s/named s/Any "Key to toggle")] Returns: {s/Any s/Any}

Takes in a Schema, and a keyword to make required.

Inputs: [schema :- {s/Any s/Any} k :- (s/named s/Any "Key to toggle")]
Returns: {s/Any s/Any}

Takes in a Schema, and a keyword to make required.
raw docstring

query-stringclj


tag-photos-prodclj

(tag-photos-prod tags)

Inputs: [tags :- [{:photo-fb-id ps/FacebookID, :user-fb-ids [(s/maybe s/Str)]}]] Returns: [{:success s/Bool}]

Tags all photos on Facebook. Returns a sequence of tag responses.

Inputs: [tags :- [{:photo-fb-id ps/FacebookID, :user-fb-ids [(s/maybe s/Str)]}]]
Returns: [{:success s/Bool}]

Tags all photos on Facebook. Returns a sequence of tag responses.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close