ios


How to pass an id with FBSDKShareOpenGraphObject so when story is selected on Facebook it goes to that particular content in app


I'm using Facebook's Mobile Hosting API for iOS and open Graph Stories, I want to know how to pass an id with FBSDKShareOpenGraphObject so when selected on Facebook it goes to that particular content in app. So far this is how my Share Dialog looking like:
NSDictionary *properties = #{
#"og:type": #"product.group",
#"og:title": [NSString stringWithFormat:#"%#",self.group.nameCompleted],
#"og:description": [NSString stringWithFormat:#"is hanging at %#",self.group.locationName],
#"og:url": #"https://fb.me/HOST_ID"
};
NSLog(#"Group Id %#", self.groupId);
FBSDKShareOpenGraphObject *object = [FBSDKShareOpenGraphObject objectWithProperties:properties];
// Create an action
FBSDKShareOpenGraphAction *action = [[FBSDKShareOpenGraphAction alloc] init];
action.actionType = #"ACTION-TYPE";
[action setObject:object forKey:#"group"];
// Create the content
FBSDKShareOpenGraphContent *content = [[FBSDKShareOpenGraphContent alloc] init];
content.action = action;
content.previewPropertyName = #"group";
[FBSDKShareDialog showFromViewController:self
withContent:content
delegate:nil];
I want to know how I can send a "group id" associated with this "group" so when I handle to the:
-(BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation;
I can show the right view controller and the correct group info.

Related Links

WatchOS2 Event Complication, how to step to next event at endTime of prior event? (getTimelineEntriesForComplication)
Swift more complex array dictionary
Change google maps location button image [duplicate]
ios view transition is getting distorted with setNavigationBarHidden=YES
How to implementent videoGravity for CAMetalLayer?
Display two images in didFinishPickingImage - iOS Swift 2.2 [duplicate]
Set CGPath width to view width
Best practice to define enums? [closed]
Sending picked image to another view
Jail broken iOS: Communication between tweak and application
Download data from iCloud if app is not running
Move function void to boolean Swift
How to use the side buttons control the volume instead of ringing APP
textFieldDidEndEditing vs didSelectRowAtIndexPath, the later not being called
Converting to Swift 3 (Swift and Firebase Project)
load .html from a local directory that is not compiled in my app

Categories

HOME
flutter
groovy
svg
whatsapp
elf
orbeon
x-editable
build.gradle
binary-search
zipfile
uwsgi
development-environment
scrollbar
round-robin
textmatebundles
libpcap
collision
pydev
co
csom
profiling
burp
parallax.js
magento2.0.2
localdb
reed-solomon
cloudinary
spring-data-cassandra
jackrabbit
extraction
json-rpc
solid-principles
signing
spring-saml
sagepay
extjs4
csr
angularjs-routing
karnaugh-map
gulp-babel
soql
attributerouting
tryton
perspective
xnamespace
ckcontainer
4d
activemodel
duration
viewengine
mysqladmin
php-opencloud
coldfusion-10
delphi-10-seattle
text-alignment
openejb
android-listfragment
solr-boost
data-science-studio
generalization
slick2d
mklink
physx
mpj-express
ratingbar
iphone-privateapi
bunny
magic-unipaas
ituneslibrary
nawk
datasift-python
loadlibrary
google-authorship
angularjs-module
memento
working-directory
retain
xmltextwriter
having
android-3.1
xml-database
iequalitycomparer
sqlitemanager
newsgroup

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App