为什么我的iOS应用程序无法发布到粉丝专页? [英] Why can't I post to a fan page from my iOS app?

查看:135
本文介绍了为什么我的iOS应用程序无法发布到粉丝专页?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将图片从我的iOS应用程序发布到单个Facebook粉丝专页。我是Facebook-sdk的新手。我可以发布到用户的页面,没有问题使用facebook sdk或社交框架,但我无法解决的是发布到粉丝页面。我设置了一个粉丝页面,并设置它允许任何人的帖子,但是当我尝试使用url / pageID /图片它将无法正常工作。它将适用于管理员,但我希望非管理员能够发布。

I want to post images from my iOS app to a single Facebook fan page. I'm new to facebook-sdk. I can post to a user's page with no issue using either facebook sdk or social framework, but what I cannot work out is posting to a fan page. I have set up a fan page and have set it to allow posts from anyone but when I try it with the url /pageID/picture it won't work. It'll work for admins, but I want non-admins to be able to post.

我需要做什么?

我可以发布图像,但只能在我的图片中。无论什么url我使用
fb / me / photo或/ fan_page_id /照片图像只有最终在我的图像文件夹不在墙上请任何帮助将是伟大的,我可以找到1000的问题,但没有答案

I can post image but it end up only in my images . no matter what url I Use fb /me/photo or /fan_page_id/photo the images only end up in my image folder not on the wall please any help would be great I can find 1000's of questions on this but no answer .

推荐答案

我已经修复了我从未将此密钥添加到我的选项dict
ACFacebookAudienceKey:ACFacebookAudienceFriends
在帐户框架标题中,它将其标记为可选项,但是除了读取权限之外,我无法再请求任何其他内容,但是在将此键添加到我的选项字典后,我不知道为什么这会有所作为,但它解决了我的问题只能发布到我的图像文件夹,我无法请求其他读取权限。添加密钥后,我可以发布到墙壁和粉丝页面墙上,并请求我需要的任何许可。

I have fixed it I never added this key to my options dict ACFacebookAudienceKey: ACFacebookAudienceFriends In the Account framework header it has it marked as optional but I could not request any thing other then read permission but after adding this key to my options dictionary it worked I dont know why this makes a difference but it fix my issue with out it I could only post to my images folder and I could not request permission other then read . After adding key I can post to wall and fan page wall and request any permission I need.

这篇关于为什么我的iOS应用程序无法发布到粉丝专页?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆