Not logged in : Login

About: VirtSpongerCartridgeFacebook     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : atom:Entry, within Data Space : ods.openlinksw.com associated with source document(s)

AttributesValues
type
Date Created
Date Modified
label
  • VirtSpongerCartridgeFacebook
maker
Title
  • VirtSpongerCartridgeFacebook
isDescribedUsing
has creator
content
  • %VOSWARNING% %VOSNAV% %META:TOPICPARENT{name="RDFMappers"}% ---++Virtuoso Sponger Cartridge for Facebook ---+++Create Facebook API Key and Session: 1. Create an account at http://facebook.com 1. Go to link "Applications" 1. Click the link "developers". 1. Go to http://www.facebook.com/developers/editapp.php?new 1. Click "Get Started" link. 1. Click the link "Add Facebook Developer Application" 1. Click the button "Set up New Application" 1. Enter name in the field "Application Name" 1. Check the shown check-box. 1. Click the "Optional fields" link. 1. Enter in "Callback Url" field the url to your ods location, i.e. http://host:port/ods/ 1. Fill in the "Canvas Page URL" field, for example: http://apps.facebook.com/myods/ 1. Select the radio-box "Use iframe". 1. For "Can your application be added on Facebook?" choose the "Yes" radio-box. 1. For the field "Post-Add URL" enter your canvas url from above, for example: http://apps.facebook.com/myods/ 1. For the field "Side Nav URL" enter your canvas url from above, for example: http://apps.facebook.com/myods/ 1. Click Submit 1. As result your API key and session will be created and shown under the name of the created application. ---+++Facebook integration in Conductor: 1. Upgrade to the latest [[http://s3.amazonaws.com/opldownload/uda/vad-packages/6.1/virtuoso/conductor_dav.vad][conductor_dav.vad]], [[http://s3.amazonaws.com/opldownload/uda/vad-packages/6.1/virtuoso/ods_framework_dav.vad][ods_framework_dav.vad]] and [[http://s3.amazonaws.com/opldownload/uda/vad-packages/6.1/virtuoso/cartridges_dav.vad][cartridges_dav.vad]] packages. 1. Go from Conductor to tab RDF->Linked Data->Sponger->Extractor Cartridges 1. As result in the Cartridges list should be shown a mapper with description "Facebook" and pattern " http://www.facebook.com/.*" 1. Click its "Edit" link. 1. Click the link "Get FB Session". 1. Now enter the API key you have created from above for your FB application. 1. Click the "Get token" button. 1. Click the link "get login code for [the name of your app]" 1. As result should be shown the page with title "Save My Login Info". Click the "Generate" button. 1. As result should be shown the one-time code. 1. In the form bellow the page enter in the "Authentication Token" the code from step 10. and enter the secret value you have generated from above. 1. Click the "Generate session" button. 1. As result this message should be shown: "FB permanent session generation Your permanent FB session key is: .... Copy an paste the shown code in the FB Linked Data 'session' option, then can close this window." 1. Now in the still opened page from Conductor in the Options text-area enter the session=[the session key from above] and for secret=[enter the generated one form above] 1. Enter for API Key the generated one from above. 1. Click the button "Update". ---+++Facebook integration in ODS: Note: If no ODS user Profile Edit Page is set with FB key, secret and session, then by default the values are taken from Conductor, if entered. 1. Login at ODS 1. Go to user's Edit Profile Page 1. Go to tab "Associations& Web Services" 1. Fill in the values in the "Facebook Session" text-area respectively for key, secret with the generated ones from above. 1. If you do not have the session value, click the "Get FB session" button and: 1. As result will open a new pop-up page. Enter the API key for your FB application. 1. Click the "Get token" button. 1. Click the link "get login code for [the name of your app]" 1. As result should be shown the page with title "Save My Login Info". Click the "Generate" button. 1. As result should be shown the one-time code. 1. In the form bellow the page enter in the "Authentication Token" the code from step 10. and enter the secret value you have generated from above. 1. Click the "Generate session" button. 1. As result this message should be shown: "FB permanent session generation Your permanent FB session key is: .... Copy an paste the shown code in the FB Linked Data 'session' option, then can close this window." 1. Copy the generated session value and close the page. 1. Paste the generated session value in the "session=" area. 1. Click Save. ---+++Viewing your ODS as application of Facebook: 1. Go to the url you have entered from above for your application, for example: http://apps.facebook.com/myods/ 2. In the shown frame with ODS click sign in and login with an account you have at your ODS location. 3. As result you should be logged in successfully. ---+++Injecting Facebook data into ODS: 1. In your Facebook account area create an album with several images uploaded. 2. Share the album to your friend(s). 3. Create several events. 4. Go to Facebook Profile page. 5. At the bottom click the "Create a Profile Badge" link. 6. Click the button "Create Badge". 7. Click the button "Save". 8. As result at the bottom of the page will be shown your profile public link, for example: Put a link to your Facebook profile on AIM: Facebook me! 9. Copy this URL: http://www.facebook.com/p/[your name]/[fid] 10. Now go to http://host:port/sparql (you can also use the RDF Browser, isparql or the isql tool). 11. Enter as default Graph URL the url from the previous step. 12. Execute the query: SELECT DISTINCT ?Concept FROM WHERE { [] rdf:type ?Concept . } Note: if you have entered the FB key, session and secret for an ODS User and you want to view his FB Graph data, you need to add the login name in front of the query, i.e.: define get:login "test1" SELECT DISTINCT ?Concept FROM WHERE { [] rdf:type ?Concept . } CategoryVirtuoso CategorySponger CategorySpec CategoryDocumentation CategoryFacebook CategoryODS CategoryRDF %VOSCOPY%
id
  • 3ba7e9c9251f49e8689a34521c7c1f7b
link
has container
http://rdfs.org/si...ices#has_services
atom:title
  • VirtSpongerCartridgeFacebook
links to
atom:source
atom:author
atom:published
  • 2017-06-13T05:36:25Z
atom:updated
  • 2017-06-13T05:36:25Z
topic
is made of
is container of of
is link of
is http://rdfs.org/si...vices#services_of of
is creator of of
is atom:entry of
is atom:contains of
Faceted Search & Find service v1.17_git132 as of May 12 2023


Alternative Linked Data Documents: iSPARQL | ODE     Content Formats:   [cxml] [csv]     RDF   [text] [turtle] [ld+json] [rdf+json] [rdf+xml]     ODATA   [atom+xml] [odata+json]     Microdata   [microdata+json] [html]    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3238 as of May 23 2023, on Linux (x86_64-generic-linux-glibc25), Single-Server Edition (15 GB total memory, 5 GB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software