This HTML5 document contains 80 embedded RDF statements represented using HTML+Microdata notation.

The embedded RDF content will be recognized by any processor of HTML5 Microdata.

PrefixNamespace IRI
n13http://ods.openlinksw.com/dataspace/services/wiki/
n40http://ods.openlinksw.com:80/wiki/main/ODS/OdsFacebookAPIKeySecretExUsage/step2-3.
n24http://ods.openlinksw.com:80/wiki/main/ODS/OdsFacebookAPIKeySecretExUsage/step3-6.
n14http://rdfs.org/sioc/services#
n34http://ods.openlinksw.com:80/wiki/main/ODS/OdsFacebookAPIKeySecretExUsage/step1-2a.
n49http://ods.openlinksw.com/dataspace/dav#
n38http://ods.openlinksw.com:80/wiki/main/ODS/OdsFacebookAPIKeySecretExUsage/step2-2.
n32http://ods.openlinksw.com:80/wiki/main/ODS/OdsFacebookAPIKeySecretExUsage/step3-5.
dchttp://purl.org/dc/elements/1.1/
n36http://ods.openlinksw.com:80/wiki/main/ODS/OdsFacebookAPIKeySecretExUsage/step1-1.
n4http://facebook.com/
n41http://ods.openlinksw.com:80/wiki/main/ODS/OdsFacebookAPIKeySecretExUsage/step1-8.
n39http://example.com.com/
n44https://virtuoso.openlinksw.com/download/
n9http://ods.openlinksw.com:80/wiki/main/ODS/OdsFacebookAPIKeySecretExUsage/step3-4.
n50http://ods.openlinksw.com/dataspace/person/owiki#
dctermshttp://purl.org/dc/terms/
rdfshttp://www.w3.org/2000/01/rdf-schema#
n45http://ods.openlinksw.com:80/wiki/main/ODS/OdsFacebookAPIKeySecretExUsage/step1-7.
rdfhttp://www.w3.org/1999/02/22-rdf-syntax-ns#
n10http://ods.openlinksw.com:80/wiki/main/ODS/OdsFacebookAPIKeySecretExUsage/step3-10.
n8http://ods.openlinksw.com:80/wiki/main/ODS/OdsFacebookAPIKeySecretExUsage/step3-3.
atomhttp://atomowl.org/ontologies/atomrdf#
n20http://ods.openlinksw.com/dataspace/person/dav#
n30http://ods.openlinksw.com/dataspace/owiki/wiki/ODS/OdsFacebookAPIKeySecretExUsage/sioc.
n43http://ods.openlinksw.com:80/wiki/main/ODS/OdsFacebookAPIKeySecretExUsage/step1-6.
n26https://developers.facebook.com/
xsdhhttp://www.w3.org/2001/XMLSchema#
n2http://ods.openlinksw.com/dataspace/owiki/wiki/ODS/
n12http://ods.openlinksw.com:80/wiki/main/ODS/OdsFacebookAPIKeySecretExUsage/step3-2.
siochttp://rdfs.org/sioc/ns#
n31http://ods.openlinksw.com:80/wiki/main/ODS/OdsFacebookAPIKeySecretExUsage/step3-4b.
n48http://ods.openlinksw.com:80/wiki/main/ODS/OdsFacebookAPIKeySecretExUsage/step1-5.
n42http://ods.openlinksw.com:80/wiki/main/ODS/OdsFacebookAPIKeySecretExUsage/step2-1.
n17http://ods.openlinksw.com:80/wiki/main/ODS/OdsFacebookAPIKeySecretExUsage/step3-1.
n47http://ods.openlinksw.com:80/wiki/main/ODS/OdsFacebookAPIKeySecretExUsage/step1-4.
n52http://example.com/ods/
oplhttp://www.openlinksw.com/schema/attribution#
n33http://virtuoso.openlinksw.com/
n46http://ods.openlinksw.com/dataspace/owiki/wiki/
n35http://ods.openlinksw.com:80/wiki/main/ODS/OdsFacebookAPIKeySecretExUsage/step1-3.
n15http://ods.openlinksw.com:80/wiki/main/ODS/OdsFacebookAPIKeySecretExUsage/step2-6.
n23http://ods.openlinksw.com:80/wiki/main/ODS/OdsFacebookAPIKeySecretExUsage/step3-9.
n6http://www.facebook.com/<your-ODS-user-name>
n37http://ods.openlinksw.com:80/wiki/main/ODS/OdsFacebookAPIKeySecretExUsage/step1-2.
foafhttp://xmlns.com/foaf/0.1/
n51http://virtuoso.openlinksw.com/wiki/main/Main/
n19http://ods.openlinksw.com:80/wiki/main/ODS/OdsFacebookAPIKeySecretExUsage/step2-5.
n22http://ods.openlinksw.com:80/wiki/main/ODS/OdsFacebookAPIKeySecretExUsage/step3-8.
n27http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/
siocthttp://rdfs.org/sioc/types#
n18http://ods.openlinksw.com:80/wiki/main/ODS/OdsFacebookAPIKeySecretExUsage/step2-4.
n54http://host:port/about/id/entity/http/www.facebook.com/<your-ODS-user-name>#
n28http://ods.openlinksw.com:80/wiki/main/ODS/OdsFacebookAPIKeySecretExUsage/step3-7.
n16http://ods.openlinksw.com/dataspace/owiki#
Subject Item
n20:this
foaf:made
n2:OdsFacebookAPIKeySecretExUsage
Subject Item
n13:item
n14:services_of
n2:OdsFacebookAPIKeySecretExUsage
Subject Item
n16:this
sioc:creator_of
n2:OdsFacebookAPIKeySecretExUsage
Subject Item
n46:ODS
sioc:container_of
n2:OdsFacebookAPIKeySecretExUsage
atom:entry
n2:OdsFacebookAPIKeySecretExUsage
atom:contains
n2:OdsFacebookAPIKeySecretExUsage
Subject Item
n49:this
sioc:creator_of
n2:OdsFacebookAPIKeySecretExUsage
Subject Item
n2:OdsFacebookAPIKeySecretExUsage
rdf:type
sioct:Comment atom:Entry
dcterms:created
2017-06-13T06:08:32.046409
dcterms:modified
2018-04-05T15:59:23.775365
rdfs:label
OdsFacebookAPIKeySecretExUsage
foaf:maker
n20:this n50:this
dc:title
OdsFacebookAPIKeySecretExUsage
opl:isDescribedUsing
n30:rdf
sioc:has_creator
n16:this n49:this
sioc:attachment
n8:png n9:png n10:png n12:png n15:png n17:png n18:png n19:png n22:png n23:png n24:png n28:png n31:png n32:png n34:png n35:png n36:png n37:png n38:png n40:png n41:png n42:png n43:png n45:png n47:png n48:png
sioc:content
%META:TOPICPARENT{name="OdsSetLoginAuthenticaionKeys"}% ---+Using Facebook OAuth key-secret Configuration Guidelines %TOC% ---++ What? Use Facebook as 3rd party application for registering a new user or logging into ODS DataSpace as already registered ODS User which account is associated with a given Facebook account. ---++ Why? Makes the process of managing users register/log in activities easier. ---++ How? In order to be able to register a new user or to log in into ODS Dataspace as already registered ODS user, you need to: * Create ODS application within Facebook: 1 Get an API Key -- for identification; 1 Get an Secret Key -- for hash salting; 1 Provide a Callback URL -- for request & access token exchange via redirection. * Configure as ODS Administrator in Site Settings->Login Authentication Keys the Facebook API to use the generate from above Client ID When the above is done, you can perform the following activities in ODS: * Register in ODS using your Facebook credentials, or: * For a regular ODS user, for ex. with name XXX you can add in Profile->Personal->Online Accounts your Facebook account, which then will enable you to log in in your ODS XXX user dataspace using the Facebook account credentials. ---+++ Examples ---++++ Prerequisites * A [[http://facebook.com/][Facebook user account]] * Administrative (DBA) access to a [[http://virtuoso.openlinksw.com/][Virtuoso Server]] instance, on which the following have been installed -- * [[https://virtuoso.openlinksw.com/download/][ODS-Framework VAD package]] ---+++++ Steps for Configuring Facebook API Key and Secret Key ---++++++ 1 -- Get Facebook API Key and Secret Key for use with ODS 1 Browse to &lt;[[https://developers.facebook.com/apps][https://developers.facebook.com/apps]]&gt; and enter your Facebook use credentials: %BR%%BR%<a href="%ATTACHURLPATH%/step1-1.png" target="_blank"><img src="%ATTACHURLPATH%/step1-1.png" width="600px" /></a>%BR%%BR% %BR%%BR%<a href="%ATTACHURLPATH%/step1-2.png" target="_blank"><img src="%ATTACHURLPATH%/step1-2.png" width="600px" /></a>%BR%%BR% 1 Click on <b>Create New App</b>: %BR%%BR%<a href="%ATTACHURLPATH%/step1-2a.png" target="_blank"><img src="%ATTACHURLPATH%/step1-2a.png" width="600px" /></a>%BR%%BR% %BR%%BR%<a href="%ATTACHURLPATH%/step1-3.png" target="_blank"><img src="%ATTACHURLPATH%/step1-3.png" width="600px" /></a>%BR%%BR% 1 In the presented form: 1 Enter application name, for ex. "<nop>MyODSExample" %BR%%BR%<a href="%ATTACHURLPATH%/step1-4.png" target="_blank"><img src="%ATTACHURLPATH%/step1-4.png" width="600px" /></a>%BR%%BR% 1 Click "Continue". 1 Enter captch string: %BR%%BR%<a href="%ATTACHURLPATH%/step1-5.png" target="_blank"><img src="%ATTACHURLPATH%/step1-6.png" width="600px" /></a>%BR%%BR% 1 Click "Continue": 1 The application should be registered and you will be shown a <b>API ID</b> and <b>Secret</b> for the newly registered application. You can copy these now as you will need these in the steps that follow: %BR%%BR%<a href="%ATTACHURLPATH%/step1-6.png" target="_blank"><img src="%ATTACHURLPATH%/step1-6.png" width="600px" /></a>%BR%%BR% 1 <b>Provide a Callback URL</b> -- Click on "Website with Facebook Login" and enter your ODS site URL that should match the host of the ODS installation. For ex. if ODS runs at http://example.com/ods/ then the URL in the Facebook app should be http://example.com.com/ : %BR%%BR%<a href="%ATTACHURLPATH%/step1-7.png" target="_blank"><img src="%ATTACHURLPATH%/step1-7.png" width="600px" /></a>%BR%%BR% 1 Click "Save Changes". %BR%%BR%<a href="%ATTACHURLPATH%/step1-8.png" target="_blank"><img src="%ATTACHURLPATH%/step1-8.png" width="600px" /></a>%BR%%BR% ---++++++ 2 - Configure ODS to use your Facebook Consumer Key and Secret 1 Browse to your Virtuoso + ODS instance, <code>http://&lt;cname&gt;[:&lt;port&gt;]/ods</code>, e.g., &lt;[[http://example.com/ods/][http://example.com/ods/]]&gt;, and click <b>Sign In</b>. %BR%%BR%<a href="%ATTACHURLPATH%/step2-1.png" target="_blank"><img src="%ATTACHURLPATH%/step2-1.png" width="600px" /></a>%BR%%BR% 1 Log in as a Virtuoso+ODS user with Administrator privileges, e.g., <code>dba</code>. %BR%%BR%<a href="%ATTACHURLPATH%/step2-2.png" target="_blank"><img src="%ATTACHURLPATH%/step2-2.png" width="600px" /></a>%BR%%BR% 1 Click on <b>Site Settings</b>: %BR%%BR%<a href="%ATTACHURLPATH%/step2-3.png" target="_blank"><img src="%ATTACHURLPATH%/step2-3.png" width="600px" /></a>%BR%%BR% 1 Click on <b>Login Authentication Keys</b>: %BR%%BR%<a href="%ATTACHURLPATH%/step2-4.png" target="_blank"><img src="%ATTACHURLPATH%/step2-4.png" width="600px" /></a>%BR%%BR% 1 Select <b><nop>FacebookAPI</b> in the <b>API Name</b> menu, provide the <b>API Key</b> and <b>Secret</b> from the new Facebook application you created above, and click <b>Add</b>. %BR%%BR%<a href="%ATTACHURLPATH%/step2-5.png" target="_blank"><img src="%ATTACHURLPATH%/step2-5.png" width="600px" /></a>%BR%%BR% 1 ODS is now configured to use <nop>Facebook. %BR%%BR%<a href="%ATTACHURLPATH%/step2-6.png" target="_blank"><img src="%ATTACHURLPATH%/step2-6.png" width="600px" /></a>%BR%%BR% ---++++Example for Configuring regular ODS user to log in into ODS using Facebook Account credentials Here is a sample scenario how to configure a regular ODS user to be able to log in in its ODS Dataspace using his/her own Facebook Account: 1 Browse to your Virtuoso + ODS instance, <code>http://&lt;cname&gt;[:&lt;port&gt;]/ods</code>, e.g., &lt;[[http://example.com/ods/][http://example.com/ods/]]&gt;. %BR%%BR%<a href="%ATTACHURLPATH%/step3-1.png" target="_blank"><img src="%ATTACHURLPATH%/step3-1.png" width="600px" /></a>%BR%%BR% 1 Log in as a Virtuoso+ODS user with normal privileges, e.g., <code>demo</code>. %BR%%BR%<a href="%ATTACHURLPATH%/step3-2.png" target="_blank"><img src="%ATTACHURLPATH%/step3-2.png" width="600px" /></a>%BR%%BR% 1 Go to Profile Edit->Personal->Online Accounts: %BR%%BR%<a href="%ATTACHURLPATH%/step3-3.png" target="_blank"><img src="%ATTACHURLPATH%/step3-3.png" width="600px" /></a>%BR%%BR% 1 Click "Add": %BR%%BR%<a href="%ATTACHURLPATH%/step3-4.png" target="_blank"><img src="%ATTACHURLPATH%/step3-4.png" width="600px" /></a>%BR%%BR% 1 In the presented form select service Facebook. By default the "<code>Member Home Page URI</code>" has <code> http://www.facebook.com/&lt;your-ODS-user-name&gt; </code> and the "<code>Account URI</code>" has value <code> http://host:port/about/id/entity/http/www.facebook.com/&lt;your-ODS-user-name&gt;#this </code>. You need to change the <code> &lt;your-ODS-user-name&gt; </code> from these URLs with your Facebook account name. %BR%%BR%<a href="%ATTACHURLPATH%/step3-4b.png" target="_blank"><img src="%ATTACHURLPATH%/step3-4b.png" width="600px" /></a>%BR%%BR% 1 Finally click "Save". 1 Log out from ODS DataSpace. 1 Make sure Facebook Login is enabled from admin user available at Site Settings -> Members Registrations: %BR%%BR%<a href="%ATTACHURLPATH%/step3-5.png" target="_blank"><img src="%ATTACHURLPATH%/step3-5.png" width="600px" /></a>%BR%%BR% 1 Click Sign In. 1 Go to "Facebook" tab: %BR%%BR%<a href="%ATTACHURLPATH%/step3-6.png" target="_blank"><img src="%ATTACHURLPATH%/step3-6.png" width="600px" /></a>%BR%%BR% 1 Click "Facebook Login". 1 Facebook should ask you to for authorization for the created application from above: %BR%%BR%<a href="%ATTACHURLPATH%/step3-7.png" target="_blank"><img src="%ATTACHURLPATH%/step3-7.png" width="600px" /></a>%BR%%BR% 1 Click "Log In with Facebook": %BR%%BR%<a href="%ATTACHURLPATH%/step3-8.png" target="_blank"><img src="%ATTACHURLPATH%/step3-8.png" width="600px" /></a>%BR%%BR% 1 On a successful authorization you should be redirected back to the ODS DataSpace: %BR%%BR%<a href="%ATTACHURLPATH%/step3-9.png" target="_blank"><img src="%ATTACHURLPATH%/step3-9.png" width="600px" /></a>%BR%%BR% 1 Click "Facebook Login" and should be logged in as the regular user from above, e.g: user "demo". %BR%%BR%<a href="%ATTACHURLPATH%/step3-10.png" target="_blank"><img src="%ATTACHURLPATH%/step3-10.png" width="600px" /></a>%BR%%BR% ---++Related * [[OdsSetLoginAuthenticaionKeys][Set up Login Authentication Keys in ODS]] 1 Examples using 3rd Party Accounts for register/log in in ODS DataSpace: * [[OdsLinkedInAPIKeySecretExUsage][Using LinkedIn -- OAuth consumer key-secret Configuration Guidelines]] * [[OdsTwitterAPIKeySecretExUsage][Using Twitter -- OAuth consumer key-secret Configuration Guidelines]] 1 Examples using 3rd Party Services for data management: * [[OdsBriefcaseAmazonS3][Using ODS-Briefcase to mediate access to data stored on Amazon S3]] * [[OdsBriefcaseBoxNet][Using ODS-Briefcase to mediate access to data stored on Box (a/k/a box.com or box.net)]] * [[OdsBriefcaseDropBox][Using ODS-Briefcase to mediate access to data stored on DropBox]] * [[OdsBriefcaseGoogleDrive][Using ODS-Briefcase to mediate access to data stored on Google Drive]] * [[OdsBriefcaseSkyDrive][Using ODS-Briefcase to mediate access to data stored on Microsoft OneDrive (formerly SkyDrive)]] * Virtuoso Cartridges Configuration: * [[http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtCartConfigFacebook][Facebook Cartridge - Configuration Guidelines]] * [[http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtCartConfigGooglePlus][Google+ Cartridge - Configuration Guidelines]] * [[http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtCartConfigLinkedIn][LinkedIn Cartridge - Configuration Guidelines]] * [[http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtCartConfigTwitter][Twitter Cartridge - Configuration Guidelines]] * [[VirtOAuthControllers][OAuth Generate Keys for ODS Controllers (Web Services)]] * [[http://virtuoso.openlinksw.com/wiki/main/Main/VirtuosoOAuthProgrammersGuide][Use OAuth for authentication, SPARQL queries, Ubiquity commands]] * [[VirtOAuthTestTool][Use the Virtuoso OAuth Test tool to manage my Data Space data]] * [[VirtuosoOdsControllers][Manipulate User Data via REST using authentication based on OAuth, sessions, or password hash]] * [[ODSProgrammersGuide][ODS Programmers' Guide]] * [[http://virtuoso.openlinksw.com/wiki/main/Main/VirtuosoOAuthProgrammersGuide][Virtuoso OAuth Programmers' Guide]] * [[VirtOAuthExamples][Examples of ODS Application Authentication using OAuth]] * [[VirtuosoOdsUbiquityTutorialsOAuth][OAuth Ubiquity Tutorial]] * [[http://virtuoso.openlinksw.com/wiki/main/Main/VirtOAuthSPARQL][SPARQL OAuth Tutorial]]
sioc:id
b14b9f210ebd859a1c924418a001f82d
sioc:link
n2:OdsFacebookAPIKeySecretExUsage
sioc:has_container
n46:ODS
n14:has_services
n13:item
atom:title
OdsFacebookAPIKeySecretExUsage
sioc:links_to
n4: n6: n2:OdsSetLoginAuthenticaionKeys n2:OdsBriefcaseAmazonS3 n2:VirtuosoOdsUbiquityTutorialsOAuth n26:apps n27:VirtCartConfigTwitter n33: n27:VirtCartConfigGooglePlus n39: n44: n27:VirtCartConfigLinkedIn n2:VirtOAuthControllers n2:ODSProgrammersGuide n2:VirtOAuthTestTool n2:DataSpace n2:VirtuosoOdsControllers n27:VirtCartConfigFacebook n51:VirtOAuthSPARQL n52: n2:OdsLinkedInAPIKeySecretExUsage n51:VirtuosoOAuthProgrammersGuide n2:VirtOAuthExamples n2:OdsTwitterAPIKeySecretExUsage n54:this
atom:source
n46:ODS
atom:author
n20:this
atom:published
2017-06-13T06:08:32Z
atom:updated
2018-04-05T15:59:23Z
sioc:topic
n46:ODS