× Joomla Facebook Connect support forum

Topic-icon Facebook Graph API Actions

Active Subscriptions:

None
13 years 11 months ago #24105 by Ivan
Is there any method to have the action links that appear in the activity feed to redirect to the app within the canvas and not to the external site?

For OG tags we need to specific the url as it would be externally.

If we use the actions code:
       $uri = 'mysite/videos/video/'.$vid_cr.'/'.$vid_id;
                
            $args = array(); 
            $args['other'] = 'https://'.$_SERVER['SERVER_NAME'].'/'.$uri; 
            $fbClient->api('my_app:view', $args);  

Is it possible to use apps.facebook.com/cavnasappname in $args?
The topic has been locked.
Support Specialist
13 years 11 months ago #24141 by alzander
Replied by alzander on topic Facebook Graph API Actions
I honestly don't know... That's not something we've ever played with. I honestly don't think you can link an action to a sub-page of your canvas app, since there's no way (that I know of) to link to a specifica page of your canvas app. You can just link to the main landing page of it.

I just did some quick looking, and all I could find was that the og:url has to be from your site. Not sure how you'd target that to your canvas app page.

Sorry that doesn't help much. If you figure anything out or have any other questions, just let us know. We'll try to help how we can!

Thanks,
Alex
The topic has been locked.