I recently implemented open graph in one of my iOS apps. Currently it posts a custom activity that when tapped is suppose to show more information about the activity.
This seems to be working for the majority of users. However, I've had a few report that when they click/tap on the posted activity it simply directs them to the app facebook page.
Has anyone else experienced this inconsistency? I cannot figure out what is going on.
Related
I'm currently working on an app that allows some feature to be displayed when a user clicks on another instagram user's pictures, ie, when the picture and the provision to comment on the comment section displays. This is a simple feature that in a way overlays over this page. M question is, does instagram or any other photo sharing app allow this?
Once the user downloads my app, he/she will be allowed to integrate my app with instagram and have this feature enabled.
Not sure I understand your question right or not. But there is no way to overlay your view to other application. There is a way to display part of your application in other application, which called extension but Instagram needs to design their application to add that feature which likely impossible.
Other way you can think of is checking if Instagram has API to see if a photo is liked/commented then you can response to that action.
I want my app to create a new Facebook group chat with certain people that opens either on Facebook's site in Safari or in the native Facebook app when the user presses a button. I want Facebook to handle the whole chat and my app only to initiate it somehow in the cleanest and least involved way possible. My app already uses the Facebook SDK to open an active FBSession, so I've already got login credentials.
Looking around online and in Facebook's docs, I can't find anything that suits my needs. The closest thing I found was in this answer containing a list of Facebook app URLs you can connect to that open the Facebook app to certain pages. There's "fb://chat/(initWithUID:)" and "fb://messaging/compose/(initWithUID:)". However, not only is there no explanation on how to use these, but people say that Facebook has changed these URLs (and does not have any documentation on them), so they don't work anymore unless I reverse-engineer new URLs (which could change again). Ugh, so close!
I also found examples on starting chats with the Facebook Chat API, but that involves logging into Facebook using some networking framework then writing my own GUI and model for sending messages, which I am only prepared to do as a last resort. There should be some way to let the Facebook app or website do all that. Does anyone know how I can do this?
I've found something very close, but I still don't see a way to make my app initialize it with the desired group of friends:
The Facebook SDK has a message dialog that can appear for sending messages to friends. This isn't exactly what I wanted but is good enough because it means that all the programming is already done for me by Facebook, and users should be able to see these messages on https://facebook.com and the Facebook apps. https://developers.facebook.com/docs/ios/share#message-dialog
I have created a custom story with a custom action and custom properties. All of this is approuved by Facebook. My action have the explicit share capacity whitch should post the graph action on the newsfeed.
When i test my code from my device with FBDialogs presentShareDialogWithOpenGraphAction, everything is fine, no errors, no logs. On Facebook i can see the post in my timeline and activity log but NOT in my newsfeed.
This problem exists only in Facebook desktop version. In my fb mobile app, the custom story appear in newsfeed, no issue in this case.
My facebook application is in sandbox mode.
I have search a lot on the web and see a few solutions like the explicit_shared flag on the action but not working.
Have somebody resolved this problem ?
We have an iOS app that publishes certain activity to Facebook that contains links to pages on our domain. Our intention is for friends to click on those links and view them as webpages.
However, when you click on links in these published stories in the FB iOS app, it's auto launching our app instead of going to an embedded Web View or kicking out to safari.
Note: We still want to have single sign on (SSO), so just want to change the behavior of clicking links in published stories.
To clarify, this is what I'm talking about:
My app is able to publishes http://foo.com/123 into the FB newsfeed for a particular user that opts in.
That person's friends see the link, but when they click it, it just goes to http://foo.com/123 in the browser instead of launching my FOO app. This is because my app doesn't yet handle incoming context from FB iOS app.
I still want FB SSO to work from my FOO app. That is, when clicking on FB sign in in my FOO app, it jumps out to the FB iOS app (if installed) and does a single sign on and redirects back to my app. IOW, I don't want to break this authentication scenario that currently works.
What setting in the FB developers App Settings controls this? It's not clear from the documentation. I see sections for Native iOS app and Website which I currently have set but it's unclear which sub-setting affects the behavior in question. Also, it's not clear even if I was to find the setting, can I affect it without affecting SSO.
The setting you want in the Facebook App dialog is under the iOS Native section (see the screenshot below) - set both the highlighted sections to Disabled.
This won't affect Facebook login/SSO in the app, so you'll still be able to do the OAuth dances.
We are using ShareKit, an excellent open source framework for integrating social sharing services into iOS apps. We have been seeing lately that sharing to FaceBook triggers a captcha prior to submission almost every time. Needless to say, this experience is not what we want to offer our users.
In addition to that, if the user has keyed in any additional text or edited the post, receiving the captcha will ignore the extra text and only post the text that was pre-filled by the app when it popped the FBConnect dialog.
Has anyone else run across this? Is there some activity that might be causing the captcha to pop up that Facebook might consider a red flag?
As background, this app has been in the app store for almost a year, and this is the first time we're seeing this behavior.
The captcha being required is likely related to the content you're posting - this is especially likely if you're on a shared domain with many other apps or websites - try sharing the individual links and images manually on Facebook.com to see if any throw a captcha there.
The other issue, that the content is partially lost after the captcha sounds like it could be a bug, you should file it at Facebook's API bug tracker at http://bugs.developers.facebook.net with repro instructions