File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -81,10 +81,10 @@ protected function initProviders(Request $request)
8181
8282 $ this ->api = new Provider ();
8383
84- if (($ id = $ this ->getId ($ request ->getStartingUrl () ))) {
84+ if (($ id = $ this ->getId ($ request ->startingUrl ))) {
8585 if ($ this ->options ['facebookAccessToken ' ]) {
8686 $ api = $ request ->createRequest ('https://graph.facebook.com/ ' .$ id );
87- $ api ->setParameter ('access_token ' , $ this ->options ['facebookAccessToken ' ]);
87+ $ api ->startingUrl -> setParameter ('access_token ' , $ this ->options ['facebookAccessToken ' ]);
8888
8989 if ($ json = $ api ->getJsonContent ()) {
9090 $ this ->api ->set ($ json );
@@ -117,10 +117,10 @@ public function getDescription()
117117 public function getUrl ()
118118 {
119119 if ($ this ->isPost ) {
120- return $ this ->request ->getStartingUrl ();
120+ return $ this ->request ->startingUrl -> getUrl ();
121121 }
122122
123- return $ this ->api ->get ('url ' ) ?: $ this ->request ->getStartingUrl ();
123+ return $ this ->api ->get ('url ' ) ?: $ this ->request ->startingUrl -> getUrl ();
124124 }
125125
126126 /**
You can’t perform that action at this time.
0 commit comments