ios - How to implement auto publish to user's facebook timeline just like Instagram ? -
i building social app user can post app. data stores in our own server , display ios native app. trying make post user publish our app user's facebook timeline. know can post data server , let app use graph api publish data directly facebook timeline. double post , make transfer data double think might not practise.
so want post server first , let server rest. shown in facebook docuement "auth on client, api calls server" https://developers.facebook.com/docs/facebook-login/access-tokens/
auth on client, api calls server http://img560.imageshack.us/img560/3814/sddz.png
but wonder if case app. because shown in diagram "api calls forwarded server proxy facebook api calls" . , not case app. because api calls initiated in server side when user use client post new data.
i wonder how app implement this.for example ,app such instagram , other social app. not sure if explain violate facebook term of usage .
tia, kong
your case suits model in chart. said "i trying make post user publish our app user's facebook timeline". i'm assuming attempting mimic instagram since mentioned it. let's user 'logged-in-by-facebook' on app , made post within app, app posted server (and push other users of android/iphone app can see, right?). @ time, there's nothing post user's timeline, scope in app only. if user chooses post facebook timeline, take same post (which saved on server) , made call graph api , post there, friends on fb see fb version, not 1 within app.
Comments
Post a Comment