Letterboxd / letterboxd-ios-x-callback-url

X-Callback URL scheme for Letterboxd iOS app
30 stars 1 forks source link

Log action - return the film name? #3

Open redpot opened 6 years ago

redpot commented 6 years ago

Could the log action return the name of the film chosen by the user in the apps search screen? In most cases this will be different to the name parameter used to initiate the search.

ryanmaxwell commented 6 years ago

@redpot So far the x-success parameter has only been called directly (if present), but according to the x-callback spec, On completion of the action, the target app will open this URL, possibly with additional parameters tacked on to return a result to the source app..

I'm thinking of what information would potentially be useful to return, and have so far come up with:

LID = Letterboxd ID, a string. You can always construct URLs to these items on Letterboxd.com by using https://boxd.it/<LID>.

The Review Id would be useful if we were going to implement some kind of editing via X-Callback as per your other suggestion.

Is there other information that would be useful? See our API documentation for POST ing a Log Entry here, you'll see that a LogEntry is returned, so any info in there could potentially be returned.