开发者

Post JSON data to Facebook

开发者 https://www.devze.com 2023-02-05 01:51 出处:网络
In the app, I want to post a ph开发者_如何学JAVAoto, and some text. I am able to post if I am using local stored data in resources but when data (in JSON format) is coming from server at the run time,

In the app, I want to post a ph开发者_如何学JAVAoto, and some text. I am able to post if I am using local stored data in resources but when data (in JSON format) is coming from server at the run time, I am not able to post that image and text which is coming from server in the JSON format.

Is there any way to post data at the runtime or I have to store the data at the client side, but in that case, the app will be bulky because data could be different at different locations?


I am not sure but you may be asking about posting an image using a URL instead of assuming data is local. If so, see this blog post - https://developers.facebook.com/blog/post/526/ and it introduced the ability to post an image by passing in a "url" parameter through the Graph API.

0

精彩评论

暂无评论...
验证码 换一张
取 消