Facebook Open Graph not publishing to profiles which dont have timelines activated - facebook

Steps:
Our app recently switched to using App Access Token for open graph. Following is the URL using which the action is being published:
https://graph.facebook.com/FACEBOOKID/namespace:action
The publish works fine and id is being returned. Also following url returns the app activity with the details of new activity that was created using URL above:
https://graph.facebook.com/FACEBOOKID/namespace:action?access_token=app_access_token
Problem:
Activity published is not visible on old Profiles that dont have timelines activated. It used to work fine when access token was being used instead of app access token. Switching profile to use timeline shows the activity though.
I have been googling to find if anyone else is facing the same issue but havent been able to find concrete answer. Am i missing something in terms of app configuration or is this a known behavior? Thanks in advance for all the help.

Timeline will become mandatory for every user soon, so I wouldn’t worry about this much …

Related

Facebook Testers Can't run my Facebook Dev Canvas App

I have taken the following steps:
On the Facebook dashboard, I created a Facebook App.
Also on the dashboard, I created a test app as a child of the Facebook app (the Dev version, for testing).
I uploaded a build of my app, and confirmed I could run it from the
admin account.
I gave two of my real-world Facebook friends the Tester role in the
dashboard.
When the real-world friends try running the app, they get 404 errors
"the requested URL was not found on this server" when it tries loading
"https://apps-APP_ID.apps.fbsbx.com/hosted-canvas/e30=/.
I am using Facebook's Simple Application Hosting. The url for the app is "https://apps.facebook.com/APP_ID". When the admin hits this it works fine, when the Tester hits it they get the error. Some have suggested that there is a sandbox setting that needs to be turned off, but I see no such thing in any of the settings on the Dashboard. Any insights you could offer would be greatly appreciated.
Not sure if it helps anyone figure it out, but the app consists only of a data file, a Javascript file (xxx.js), and an index.html.
Holy moly - alright I'm hoping this helps someone else out. Apparently, when you create an app, and then create a test app so that you can establish a dev environment for testing - which is standard procedure - you have to add any testers to the parent (production) app under "Roles". I was only adding it under "Roles" for the test app, which apparently is not enough. If anyone from Facebook is reading this, please update your docs, or update the dashboard to issue a warning to people who only add testers under the test app.
We also have to push the app to production (though yet to approved),
If the status is set to "testing", only admin user can find it in my case.

Can't create Facebook Ad creative with a facebook app in a development mode

I am working on a FB app for creating Facebook Ads. In the past I was able to debug the whole FB Ad creation process in a development mode but suddenly I started getting this error that I was not able to find documentation for.
Request:
https://graph.facebook.com/v2.2/act_foo/adcreatives?access_token=bar
Response:
{"error":{"message":"Invalid parameter","type":"FacebookApiException","code":100,"error_subcode":1885183,"is_transient":false,"error_user_title":"Ads creative post was created by an app that is in development mode","error_user_msg":"Ads creative post was created by an app that is in development mode. It must be in public to create this ad."}}
I've searched Facebook API documentation but haven't found anything about this error error_subcode: 1885183.
Anyone has experience with this error or a hint how to deal with it?
EDIT
Bug is already reported to FB: https://developers.facebook.com/bugs/1605648466391176/
For completeness of this question, the answer from the resolved bug report is as folows:
Across our entire platform, Marketing API included, content created by apps is only visible to users that can see the app
We had a bug which was allowing ads to be created which were promoting posts created by apps that are in development mode - such ads would not be visible to anyone other than Admins, Developers or Testers of the app - this caused multiple issues in our ad delivery system and the correct validation is now in place to prevent such ads being created
If you want to create ads from an app which is in development mode, this is possible, but the post you're going to promote must have been created by an app which isn't in development mode - i.e if your app is in development mode it's OK provided you're promoting existing page posts from a page's /promotable_posts endpoint and the app that created those posts is not itself in development mode
If you're not using existing page posts, and are creating them inline/implicitly as part of an ad creation, the app used to create the ad must be visible - you can change this for your app using the "Do you want to make this app and all its live features available to the general public?" toggle on the Status & Review tab of the app dashboard for the app
https://developers.facebook.com/bugs/1605648466391176/?comment_id=1039672816061177
We had the same issue and found a workaround that fixed it.
We created a new basic facebook-app with no additional permissions and published it right away.
We then added ourselves as admins and could create creatives through the marketing api again.
Hope this helps you

Facebook sharing link error

I'm using this working example to create a share link:
https://www.facebook.com/dialog/feed?app_id=145634995501895&display=popup&caption=An%20example%20caption&link=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2Fdialogs%2F&redirect_uri=https://developers.facebook.com/tools/explorer
I change app_id to one which I created, and links which are placed in app settings too.
https://www.facebook.com/dialog/feed?app_id=755901181123275&display=popup&caption=An%20example%20caption&link=http://www.tousdanette.com/&redirect_uri=http://www.tousdanette.com/
It is working if i'm logged in with account which I used to create the app. But if I send link to another person it shows an error:
"An error occurred. Please try again later."
Maybe I need to apply some settings in fb app? or any other ideas?
I had the same issue a while back,
Go to your application dashboard and the app that uses the ID you require and see if the application is live to the public.
If this doesnt work try a diffrent app to test the link.

Displaying MY public wall using AS3 without user login

I've been trying to get this to work for a while, but I've apparently missed something.
All I want is to have the latest 3 or so posts from my clients Facebook page to populate and animate in a screensaver that I am building using Flash (AS3).
So far, every time I try to bring anything in, it requires a complete oAuth login and account link, but it's only a one way exchange (read-only, absolutely no writing, posting or even linking, since it's a screensaver) I'm not even sure the client wants pictures or anything.
I am currently trying to use the facebook-actionscript-api, but there isn't an option for the "App Login" type of Authentication that would solve most of my problems.
I'm at wits end and about to have to tell my client it can't be done. At least they'll always have twitter...
I don't think it is possible to get facebook feeds without an accesstoken (even if they are public). So I guess you need to define an app within Facebook and add login stuff to your app so users can give permission to your app for basic access.
Maybe this article offers some help: http://www.adobe.com/devnet/facebook/articles/flex_fbgraph_pt1.html

iOS and Facebook Graph API: Inconsistent authorize issues

I'm using the official FBConnect library for iOS and trying to get it working in my iPad app. Here's what's strange: when my friend logs in using the call to authorize:permissions:delegate, everything works fine: the dialog asks for his authorization to connect to Facebook, the fbDidLogin delegate method gets called, all is well.
However, when I try to login, the dialog never changes. The keyboard is dismissed, the password field is cleared and it just sits there. The issue is the same in both the simulator and on the device.
Here are the things I've checked and triple checked:
My login name and password are correct. If I do put in the wrong password, an "invalid username/password" message appears, and that isn't happening.
The application is not in sandbox mode.
The Application ID is correct (my friend can login without problems).
Some additional information:
Original application was created by my friend.
I created a second FB app and put in the new Application ID
My friend can login with the new Application ID
I can log in to neither.
This appears to suggest that there is something different about my friend's account, rather than the app itself.
We've been banging our heads together on this for a couple of days now. What could be causing this behaviour? Why isn't an error being generated?
Edit: It seems there are a lot of people affected by this, so in the interest of trying to find an answer, I've added a bounty.
There appears to be a server-side problem with Facebook logins as noted here:
http://github.com/facebook/facebook-ios-sdk/issues#issue/95
People have said that if they change their password on Facebook they are subsequently able to log in using the Facebook-iOS-SDK downloaded from github. Obviously that is a poor long-term solution and would be unacceptable in an app released through the App Store. On the bright side, there seem to be reports of similar login problems logging in from apps on other platforms as well.
Update: Facebook has a bug filed on this subject that can be viewed here:
http://bugs.developers.facebook.net/show_bug.cgi?id=13199